| Index: webrtc/api/objc/RTCStatsReport.h
|
| diff --git a/webrtc/api/objc/RTCMediaConstraints.h b/webrtc/api/objc/RTCStatsReport.h
|
| similarity index 51%
|
| copy from webrtc/api/objc/RTCMediaConstraints.h
|
| copy to webrtc/api/objc/RTCStatsReport.h
|
| index a8ad39142e39449d75e9b7b40bad09fb2c421124..fc66faf2cf7b9e22bdd6211e0f59dc40378603fb 100644
|
| --- a/webrtc/api/objc/RTCMediaConstraints.h
|
| +++ b/webrtc/api/objc/RTCStatsReport.h
|
| @@ -12,16 +12,22 @@
|
|
|
| NS_ASSUME_NONNULL_BEGIN
|
|
|
| -@interface RTCMediaConstraints : NSObject
|
| +/** This does not currently conform to the spec. */
|
| +@interface RTCStatsReport : NSObject
|
|
|
| -- (instancetype)init NS_UNAVAILABLE;
|
| +/** Time since 1970-01-01T00:00:00Z in milliseconds. */
|
| +@property(nonatomic, readonly) CFTimeInterval timestamp;
|
| +
|
| +/** The type of stats held by this object. */
|
| +@property(nonatomic, readonly) NSString *type;
|
| +
|
| +/** The identifier for this object. */
|
| +@property(nonatomic, readonly) NSString *statsId;
|
|
|
| -/** Initialize with mandatory and/or optional constraints. */
|
| -- (instancetype)initWithMandatoryConstraints:
|
| - (nullable NSDictionary<NSString *, NSString *> *)mandatory
|
| - optionalConstraints:
|
| - (nullable NSDictionary<NSString *, NSString *> *)optional
|
| - NS_DESIGNATED_INITIALIZER;
|
| +/** A dictionary holding the actual stats. */
|
| +@property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *values;
|
| +
|
| +- (instancetype)init NS_UNAVAILABLE;
|
|
|
| @end
|
|
|
|
|