Public Member Functions | |
| fm.liveswitch.FormatInfo | getInputFormat () |
| Gets the input format. More... | |
| String | getLabel () |
| Gets the label. More... | |
| boolean | getMuted () |
| Gets the muted flag. More... | |
| String | getOutputId () |
| Gets the output identifier. More... | |
| String | getOutputName () |
| Gets the output name. More... | |
| String | getTag () |
| Gets the tag. More... | |
| boolean | isEquivalent (fm.liveswitch.MediaSinkStats instance) |
| Checks if a source is equivalent to this one. More... | |
| MediaSinkStats () | |
| void | setInputFormat (fm.liveswitch.FormatInfo value) |
| Sets the input format. More... | |
| void | setLabel (String value) |
| Sets the label. More... | |
| void | setMuted (boolean value) |
| Sets the muted flag. More... | |
| void | setOutputId (String value) |
| Sets the output identifier. More... | |
| void | setOutputName (String value) |
| Sets the output name. More... | |
| void | setTag (String value) |
| Sets the tag. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
Public Member Functions inherited from fm.liveswitch.BaseStats | |
| String | getId () |
| Gets the identifier of the object generating these stats. More... | |
| java.util.Date | getTimestamp () |
| Gets the timestamp when these stats were generated. More... | |
Public Member Functions inherited from fm.liveswitch.IEquivalent< fm.liveswitch.MediaSinkStats > | |
| abstract boolean | isEquivalent (T instance) |
| Checks if an instance is equivalent to this one. More... | |
Static Public Member Functions | |
| static fm.liveswitch.MediaSinkStats | fromJson (String instanceJson) |
| Deserializes an instance from JSON. More... | |
| static fm.liveswitch.MediaSinkStats[] | fromJsonArray (String arrayJson) |
| Deserializes an array from JSON. More... | |
| static String | toJson (fm.liveswitch.MediaSinkStats instance) |
| Serializes an instance to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.MediaSinkStats[] array) |
| Serializes an array to JSON. More... | |
Protected Member Functions | |
| void | deserializeProperties (String key, String valueJson) |
| Deserializes the properties. More... | |
| void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
| Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.BaseStats | |
| BaseStats () | |
Media sink stats.
| fm.liveswitch.MediaSinkStats.MediaSinkStats | ( | ) |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.BaseStats.
|
static |
Deserializes an instance from JSON.
| instanceJson | The serialized JSON. |
|
static |
Deserializes an array from JSON.
| arrayJson | The serialized JSON. |
| fm.liveswitch.FormatInfo fm.liveswitch.MediaSinkStats.getInputFormat | ( | ) |
Gets the input format.
| String fm.liveswitch.MediaSinkStats.getLabel | ( | ) |
Gets the label.
| boolean fm.liveswitch.MediaSinkStats.getMuted | ( | ) |
Gets the muted flag.
| String fm.liveswitch.MediaSinkStats.getOutputId | ( | ) |
Gets the output identifier.
| String fm.liveswitch.MediaSinkStats.getOutputName | ( | ) |
Gets the output name.
| String fm.liveswitch.MediaSinkStats.getTag | ( | ) |
Gets the tag.
| boolean fm.liveswitch.MediaSinkStats.isEquivalent | ( | fm.liveswitch.MediaSinkStats | instance | ) |
Checks if a source is equivalent to this one.
| instance | The source. |
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.BaseStats.
| void fm.liveswitch.MediaSinkStats.setInputFormat | ( | fm.liveswitch.FormatInfo | value | ) |
Sets the input format.
| void fm.liveswitch.MediaSinkStats.setLabel | ( | String | value | ) |
Sets the label.
| void fm.liveswitch.MediaSinkStats.setMuted | ( | boolean | value | ) |
Sets the muted flag.
| void fm.liveswitch.MediaSinkStats.setOutputId | ( | String | value | ) |
Sets the output identifier.
| void fm.liveswitch.MediaSinkStats.setOutputName | ( | String | value | ) |
Sets the output name.
| void fm.liveswitch.MediaSinkStats.setTag | ( | String | value | ) |
Sets the tag.
| String fm.liveswitch.MediaSinkStats.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| instance | The instance to serialize. |
|
static |
Serializes an array to JSON.
| array | The array to serialize. |