Use backticks not vertical bars to denote variables in comments for /examples
Bug: webrtc:12338 Change-Id: I753a476d1574d8dd50f1b6d4bfc2beb7f6f1f913 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226947 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34562}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
d7ac581045
commit
36de9dfb6e
@ -63,7 +63,7 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) {
|
||||
// class should only be called from the main queue.
|
||||
@interface ARDAppClient : NSObject
|
||||
|
||||
// If |shouldGetStats| is true, stats will be reported in 1s intervals through
|
||||
// If `shouldGetStats` is true, stats will be reported in 1s intervals through
|
||||
// the delegate.
|
||||
@property(nonatomic, assign) BOOL shouldGetStats;
|
||||
@property(nonatomic, readonly) ARDAppClientState state;
|
||||
@ -75,8 +75,8 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) {
|
||||
- (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate;
|
||||
|
||||
// Establishes a connection with the AppRTC servers for the given room id.
|
||||
// |settings| is an object containing settings such as video codec for the call.
|
||||
// If |isLoopback| is true, the call will connect to itself.
|
||||
// `settings` is an object containing settings such as video codec for the call.
|
||||
// If `isLoopback` is true, the call will connect to itself.
|
||||
- (void)connectToRoomWithId:(NSString *)roomId
|
||||
settings:(ARDSettingsModel *)settings
|
||||
isLoopback:(BOOL)isLoopback;
|
||||
|
||||
@ -64,7 +64,7 @@ static int64_t const kARDAppClientRtcEventLogMaxSizeInBytes = 5e6; // 5 MB.
|
||||
static int const kKbpsMultiplier = 1000;
|
||||
|
||||
// We need a proxy to NSTimer because it causes a strong retain cycle. When
|
||||
// using the proxy, |invalidate| must be called before it properly deallocs.
|
||||
// using the proxy, `invalidate` must be called before it properly deallocs.
|
||||
@interface ARDTimerProxy : NSObject
|
||||
|
||||
- (instancetype)initWithInterval:(NSTimeInterval)interval
|
||||
|
||||
@ -64,7 +64,7 @@ static CGFloat const kCallControlMargin = 8;
|
||||
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
|
||||
// There is no other control that can take focus, so manually resign focus
|
||||
// when return (Join) is pressed to trigger |textFieldDidEndEditing|.
|
||||
// when return (Join) is pressed to trigger `textFieldDidEndEditing`.
|
||||
[textField resignFirstResponder];
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user