Media track information. More...
Instance Methods | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(FMLiveSwitchNullableBool *) | - detached |
Gets the whether the media track is detached. More... | |
(instancetype) | - init |
Create MediaTrackInfo instance. More... | |
(instancetype) | - initWithStats:lastStats: |
Create MediaTrackInfo instance. More... | |
(FMLiveSwitchNullableBool *) | - muted |
Gets the whether the media track is muted. More... | |
(FMLiveSwitchMediaTrackReport *) | - report |
Gets the data stream report. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setDetached: |
Sets the whether the media track is detached. More... | |
(void) | - setMuted: |
Sets the whether the media track is muted. More... | |
(void) | - setReport: |
Sets the data stream report. More... | |
(void) | - setStopped: |
Sets the whether the media track is stopped. More... | |
(FMLiveSwitchNullableBool *) | - stopped |
Gets the whether the media track is stopped. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Instance Methods inherited from FMLiveSwitchInfo | |
(NSString *) | - id |
Gets the identifier. More... | |
(void) | - setId: |
Sets the identifier. More... | |
Class Methods | |
(NSMutableArray *) | + fromJsonArrayWithMediaTrackInfosJson: |
Deserializes an array from JSON. More... | |
(FMLiveSwitchMediaTrackInfo *) | + fromJsonWithMediaTrackInfoJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchMediaTrackInfo *) | + mediaTrackInfo |
Create MediaTrackInfo instance. More... | |
(FMLiveSwitchMediaTrackInfo *) | + mediaTrackInfoWithStats:lastStats: |
Create MediaTrackInfo instance. More... | |
(NSString *) | + toJsonArrayWithMediaTrackInfos: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithMediaTrackInfo: |
Serializes an instance to JSON. More... | |
Class Methods inherited from FMLiveSwitchInfo | |
(FMLiveSwitchInfo *) | + info |
(NSMutableArray *) | + processArrayWithNewValues:oldValues: |
Processes an array for an info. More... | |
(NSMutableArray *) | + processBooleanArrayWithNewValues:oldValues: |
Processes a boolean array for an info. More... | |
(FMLiveSwitchNullableBool *) | + processBooleanWithNewValue:oldValue: |
Processes a boolean for an info. More... | |
(FMLiveSwitchNullableDouble *) | + processDoubleWithNewValue:oldValue: |
Processes a double for an info. More... | |
(NSMutableArray *) | + processFloatArrayWithNewValues:oldValues: |
Processes a float array for an info. More... | |
(FMLiveSwitchNullableFloat *) | + processFloatWithNewValue:oldValue: |
Processes a float for an info. More... | |
(NSMutableArray *) | + processIntegerArrayWithNewValues:oldValues: |
Processes a integer array for an info. More... | |
(FMLiveSwitchNullableInt *) | + processIntegerWithNewValue:oldValue: |
Processes an integer for an info. More... | |
(NSMutableArray *) | + processLongArrayWithNewValues:oldValues: |
Processes a long array for an info. More... | |
(FMLiveSwitchNullableLong *) | + processLongWithNewValue:oldValue: |
Processes a long for an info. More... | |
(NSObject< FMLiveSwitchIEquivalent > *) | + processObjectWithNewValue:oldValue: |
Processes an object for an info. More... | |
(NSMutableArray *) | + processShortArrayWithNewValues:oldValues: |
Processes a short array for an info. More... | |
(FMLiveSwitchNullableShort *) | + processShortWithNewValue:oldValue: |
Processes a short for an info. More... | |
(NSString *) | + processStringWithNewValue:oldValue: |
Processes a string for an info. More... | |
Media track information.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchInfo.
- (FMLiveSwitchNullableBool*) detached |
Gets the whether the media track is detached.
+ (NSMutableArray*) fromJsonArrayWithMediaTrackInfosJson: | (NSString *) | mediaTrackInfosJson |
Deserializes an array from JSON.
mediaTrackInfosJson | The serialized JSON. |
+ (FMLiveSwitchMediaTrackInfo*) fromJsonWithMediaTrackInfoJson: | (NSString *) | mediaTrackInfoJson |
Deserializes an instance from JSON.
mediaTrackInfoJson | The serialized JSON. |
- (instancetype) init |
Create MediaTrackInfo instance.
Implements FMLiveSwitchInfo.
- (instancetype) initWithStats: | (FMLiveSwitchMediaTrackStats *) | stats | |
lastStats: | (FMLiveSwitchMediaTrackStats *) | lastStats | |
Create MediaTrackInfo instance.
stats | |
lastStats |
+ (FMLiveSwitchMediaTrackInfo*) mediaTrackInfo |
Create MediaTrackInfo instance.
+ (FMLiveSwitchMediaTrackInfo*) mediaTrackInfoWithStats: | (FMLiveSwitchMediaTrackStats *) | stats | |
lastStats: | (FMLiveSwitchMediaTrackStats *) | lastStats | |
Create MediaTrackInfo instance.
stats | |
lastStats |
- (FMLiveSwitchNullableBool*) muted |
Gets the whether the media track is muted.
- (FMLiveSwitchMediaTrackReport*) report |
Gets the data stream report.
- (void) setDetached: | (FMLiveSwitchNullableBool *) | value |
Sets the whether the media track is detached.
- (void) setMuted: | (FMLiveSwitchNullableBool *) | value |
Sets the whether the media track is muted.
- (void) setReport: | (FMLiveSwitchMediaTrackReport *) | value |
Sets the data stream report.
- (void) setStopped: | (FMLiveSwitchNullableBool *) | value |
Sets the whether the media track is stopped.
- (FMLiveSwitchNullableBool*) stopped |
Gets the whether the media track is stopped.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithMediaTrackInfos: | (NSMutableArray *) | mediaTrackInfos |
Serializes an array to JSON.
mediaTrackInfos | The array to serialize. |
+ (NSString*) toJsonWithMediaTrackInfo: | (FMLiveSwitchMediaTrackInfo *) | mediaTrackInfo |
Serializes an instance to JSON.
mediaTrackInfo | The instance to serialize. |