Index: webrtc/examples/objc/AppRTCDemo/ARDAppClient.h |
diff --git a/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h b/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h |
index 04993e49b26968e8a1b4636f7f02be31cb240c58..d591704985177fa5d712c6fb417bf95d9699185c 100644 |
--- a/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h |
+++ b/webrtc/examples/objc/AppRTCDemo/ARDAppClient.h |
@@ -41,12 +41,18 @@ typedef NS_ENUM(NSInteger, ARDAppClientState) { |
- (void)appClient:(ARDAppClient *)client |
didError:(NSError *)error; |
+- (void)appClient:(ARDAppClient *)client |
+ didGetStats:(NSArray *)stats; |
+ |
@end |
// Handles connections to the AppRTC server for a given room. Methods on this |
// class should only be called from the main queue. |
@interface ARDAppClient : NSObject |
+// If |shouldGetStats| is true, stats will be reported in 1s intervals through |
+// the delegate. |
+@property(nonatomic, assign) BOOL shouldGetStats; |
@property(nonatomic, readonly) ARDAppClientState state; |
@property(nonatomic, weak) id<ARDAppClientDelegate> delegate; |