Media source stats. More...
Instance Methods | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (instancetype) | - init |
| (NSString *) | - inputId |
| Gets the input identifier. More... | |
| (NSString *) | - inputName |
| Gets the input name. 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... | |
| (FMLiveSwitchFormatInfo *) | - outputFormat |
| Gets the output format. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (void) | - setInputId: |
| Sets the input identifier. More... | |
| (void) | - setInputName: |
| Sets the input name. More... | |
| (void) | - setLabel: |
| Sets the label. More... | |
| (void) | - setMuted: |
| Sets the muted flag. More... | |
| (void) | - setOutputFormat: |
| Sets the output format. 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 | |
| (FMLiveSwitchMediaSourceStats *) | + fromJsonWithInstanceJson: |
| Deserializes an instance from JSON. More... | |
| (FMLiveSwitchMediaSourceStats *) | + mediaSourceStats |
| (NSString *) | + toJsonWithInstance: |
| Serializes an instance to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Media source stats.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
| + (FMLiveSwitchMediaSourceStats*) fromJsonWithInstanceJson: | (NSString *) | instanceJson |
Deserializes an instance from JSON.
| instanceJson | The serialized Json. |
| - (instancetype) init |
Implements FMLiveSwitchBaseStats.
| - (NSString*) inputId |
Gets the input identifier.
| - (NSString*) inputName |
Gets the input name.
| - (bool) isEquivalentWithInstance: | (FMLiveSwitchMediaSourceStats *) | instance |
Checks if a source is equivalent to this one.
| instance | The source. |
| - (NSString*) label |
Gets the label.
| + (FMLiveSwitchMediaSourceStats*) mediaSourceStats |
| - (bool) muted |
Gets the muted flag.
| - (FMLiveSwitchFormatInfo*) outputFormat |
Gets the output format.
| - (void) setInputId: | (NSString *) | value |
Sets the input identifier.
| - (void) setInputName: | (NSString *) | value |
Sets the input name.
| - (void) setLabel: | (NSString *) | value |
Sets the label.
| - (void) setMuted: | (bool) | value |
Sets the muted flag.
| - (void) setOutputFormat: | (FMLiveSwitchFormatInfo *) | value |
Sets the output format.
| - (void) setTag: | (NSString *) | value |
Sets the tag.
| - (NSString*) tag |
Gets the tag.
| - (NSString*) toJson |
Serializes this instance to JSON.
| + (NSString*) toJsonWithInstance: | (FMLiveSwitchMediaSourceStats *) | instance |
Serializes an instance to JSON.
| instance | The instance to serialize. |