Media sink stats. More...
Instance Methods | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
(FMLiveSwitchFormatInfo *) | - inputFormat |
Gets the input format. More... | |
(bool) | - isEquivalentWithInstance: |
Checks if a source is equivalent to this one. More... | |
(NSString *) | - label |
Gets the label. More... | |
(bool) | - muted |
Gets the muted flag. More... | |
(NSString *) | - outputId |
Gets the output identifier. More... | |
(NSString *) | - outputName |
Gets the output name. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setInputFormat: |
Sets the input format. More... | |
(void) | - setLabel: |
Sets the label. More... | |
(void) | - setMuted: |
Sets the muted flag. More... | |
(void) | - setOutputId: |
Sets the output identifier. More... | |
(void) | - setOutputName: |
Sets the output name. More... | |
(void) | - setTag: |
Sets the tag. More... | |
(NSString *) | - tag |
Gets the tag. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Instance Methods inherited from FMLiveSwitchBaseStats | |
(NSString *) | - id |
Gets the identifier of the object generating these stats. More... | |
(NSDate *) | - timestamp |
Gets the timestamp when these stats were generated. More... | |
Instance Methods inherited from <FMLiveSwitchIEquivalent> | |
(bool) | - isEquivalentWithInstance: |
Checks if an instance is equivalent to this one. More... | |
Class Methods | |
(NSMutableArray *) | + fromJsonArrayWithArrayJson: |
Deserializes an array from JSON. More... | |
(FMLiveSwitchMediaSinkStats *) | + fromJsonWithInstanceJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchMediaSinkStats *) | + mediaSinkStats |
(NSString *) | + toJsonArray: |
Serializes an array to JSON. More... | |
(NSString *) | + toJsonWithInstance: |
Serializes an instance to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
(FMLiveSwitchBaseStats *) | + baseStats |
Media sink stats.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
+ (NSMutableArray*) fromJsonArrayWithArrayJson: | (NSString *) | arrayJson |
Deserializes an array from JSON.
arrayJson | The serialized JSON. |
+ (FMLiveSwitchMediaSinkStats*) fromJsonWithInstanceJson: | (NSString *) | instanceJson |
Deserializes an instance from JSON.
instanceJson | The serialized JSON. |
- (instancetype) init |
Implements FMLiveSwitchBaseStats.
- (FMLiveSwitchFormatInfo*) inputFormat |
Gets the input format.
- (bool) isEquivalentWithInstance: | (FMLiveSwitchMediaSinkStats *) | instance |
Checks if a source is equivalent to this one.
instance | The source. |
- (NSString*) label |
Gets the label.
+ (FMLiveSwitchMediaSinkStats*) mediaSinkStats |
- (bool) muted |
Gets the muted flag.
- (NSString*) outputId |
Gets the output identifier.
- (NSString*) outputName |
Gets the output name.
- (void) setInputFormat: | (FMLiveSwitchFormatInfo *) | value |
Sets the input format.
- (void) setLabel: | (NSString *) | value |
Sets the label.
- (void) setMuted: | (bool) | value |
Sets the muted flag.
- (void) setOutputId: | (NSString *) | value |
Sets the output identifier.
- (void) setOutputName: | (NSString *) | value |
Sets the output name.
- (void) setTag: | (NSString *) | value |
Sets the tag.
- (NSString*) tag |
Gets the tag.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArray: | (NSMutableArray *) | array |
Serializes an array to JSON.
array | The array to serialize. |
+ (NSString*) toJsonWithInstance: | (FMLiveSwitchMediaSinkStats *) | instance |
Serializes an instance to JSON.
instance | The instance to serialize. |