Public Member Functions | |
String | getInputId () |
Gets the input identifier. More... | |
String | getInputName () |
Gets the input name. More... | |
String | getLabel () |
Gets the label. More... | |
boolean | getMuted () |
Gets the muted flag. More... | |
fm.liveswitch.FormatInfo | getOutputFormat () |
Gets the output format. More... | |
String | getTag () |
Gets the tag. More... | |
boolean | isEquivalent (fm.liveswitch.MediaSourceStats instance) |
Checks if a source is equivalent to this one. More... | |
MediaSourceStats () | |
void | setInputId (String value) |
Sets the input identifier. More... | |
void | setInputName (String value) |
Sets the input name. More... | |
void | setLabel (String value) |
Sets the label. More... | |
void | setMuted (boolean value) |
Sets the muted flag. More... | |
void | setOutputFormat (fm.liveswitch.FormatInfo value) |
Sets the output format. 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.MediaSourceStats > | |
abstract boolean | isEquivalent (T instance) |
Checks if an instance is equivalent to this one. More... | |
Static Public Member Functions | |
static fm.liveswitch.MediaSourceStats | fromJson (String instanceJson) |
Deserializes an instance from JSON. More... | |
static String | toJson (fm.liveswitch.MediaSourceStats instance) |
Serializes an instance 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 source stats.
fm.liveswitch.MediaSourceStats.MediaSourceStats | ( | ) |
|
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. |
String fm.liveswitch.MediaSourceStats.getInputId | ( | ) |
Gets the input identifier.
String fm.liveswitch.MediaSourceStats.getInputName | ( | ) |
Gets the input name.
String fm.liveswitch.MediaSourceStats.getLabel | ( | ) |
Gets the label.
boolean fm.liveswitch.MediaSourceStats.getMuted | ( | ) |
Gets the muted flag.
fm.liveswitch.FormatInfo fm.liveswitch.MediaSourceStats.getOutputFormat | ( | ) |
Gets the output format.
String fm.liveswitch.MediaSourceStats.getTag | ( | ) |
Gets the tag.
boolean fm.liveswitch.MediaSourceStats.isEquivalent | ( | fm.liveswitch.MediaSourceStats | 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.MediaSourceStats.setInputId | ( | String | value | ) |
Sets the input identifier.
void fm.liveswitch.MediaSourceStats.setInputName | ( | String | value | ) |
Sets the input name.
void fm.liveswitch.MediaSourceStats.setLabel | ( | String | value | ) |
Sets the label.
void fm.liveswitch.MediaSourceStats.setMuted | ( | boolean | value | ) |
Sets the muted flag.
void fm.liveswitch.MediaSourceStats.setOutputFormat | ( | fm.liveswitch.FormatInfo | value | ) |
Sets the output format.
void fm.liveswitch.MediaSourceStats.setTag | ( | String | value | ) |
Sets the tag.
String fm.liveswitch.MediaSourceStats.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
instance | The instance to serialize. |