A simulcast notification. More...
Public Member Functions | |
String | getMediaDescriptionId () |
Gets the media description ID. More... | |
String | getRtpStreamId () |
Gets the RTP stream ID. More... | |
fm.liveswitch.SimulcastStreamState | getStreamState () |
Gets the simulcast stream's state. More... | |
long | getSynchronizationSource () |
Gets the synchronization source. More... | |
void | setMediaDescriptionId (String value) |
Sets the media description ID. More... | |
void | setRtpStreamId (String value) |
Sets the RTP stream ID. More... | |
void | setStreamState (fm.liveswitch.SimulcastStreamState value) |
Sets the simulcast stream's state. More... | |
void | setSynchronizationSource (long value) |
Sets the synchronization source. More... | |
SimulcastNotification () | |
Initializes a new instance of the fm.liveswitch.SimulcastNotification class. More... | |
String | toJson () |
Serializes this instance to JSON. More... | |
Static Public Member Functions | |
static fm.liveswitch.SimulcastNotification | fromJson (String simulcastNotificationJson) |
Deserializes an instance from JSON. More... | |
static fm.liveswitch.SimulcastNotification[] | fromJsonArray (String simulcastNotificationJson) |
Deserializes an array from JSON. More... | |
static String | toJson (fm.liveswitch.SimulcastNotification simulcastNotification) |
Serializes an instance to JSON. More... | |
static String | toJsonArray (fm.liveswitch.SimulcastNotification[] simulcastNotifications) |
Serializes an array to JSON. More... | |
Protected Member Functions | |
void | deserializeProperty (String key, String valueJson) |
Deserializes a property from JSON. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes properties to JSON. More... | |
A simulcast notification.
fm.liveswitch.SimulcastNotification.SimulcastNotification | ( | ) |
Initializes a new instance of the fm.liveswitch.SimulcastNotification class.
|
protected |
Deserializes a property from JSON.
key | The property key. |
valueJson | The property value in JSON format. |
|
static |
Deserializes an instance from JSON.
simulcastNotificationJson | The instance in JSON format. |
|
static |
Deserializes an array from JSON.
simulcastNotificationJson | The array in JSON format. |
String fm.liveswitch.SimulcastNotification.getMediaDescriptionId | ( | ) |
Gets the media description ID.
String fm.liveswitch.SimulcastNotification.getRtpStreamId | ( | ) |
Gets the RTP stream ID.
fm.liveswitch.SimulcastStreamState fm.liveswitch.SimulcastNotification.getStreamState | ( | ) |
Gets the simulcast stream's state.
long fm.liveswitch.SimulcastNotification.getSynchronizationSource | ( | ) |
Gets the synchronization source.
|
protected |
Serializes properties to JSON.
jsonObject | The JSON target. |
void fm.liveswitch.SimulcastNotification.setMediaDescriptionId | ( | String | value | ) |
Sets the media description ID.
void fm.liveswitch.SimulcastNotification.setRtpStreamId | ( | String | value | ) |
Sets the RTP stream ID.
void fm.liveswitch.SimulcastNotification.setStreamState | ( | fm.liveswitch.SimulcastStreamState | value | ) |
Sets the simulcast stream's state.
void fm.liveswitch.SimulcastNotification.setSynchronizationSource | ( | long | value | ) |
Sets the synchronization source.
String fm.liveswitch.SimulcastNotification.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
simulcastNotification | The instance. |
|
static |
Serializes an array to JSON.
simulcastNotifications | The array. |