fm.liveswitch.SimulcastNotification Class Reference

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...
 

Detailed Description

A simulcast notification.

Constructor & Destructor Documentation

◆ SimulcastNotification()

fm.liveswitch.SimulcastNotification.SimulcastNotification ( )

Initializes a new instance of the fm.liveswitch.SimulcastNotification class.

Member Function Documentation

◆ deserializeProperty()

void fm.liveswitch.SimulcastNotification.deserializeProperty ( String  key,
String  valueJson 
)
protected

Deserializes a property from JSON.

Parameters
keyThe property key.
valueJsonThe property value in JSON format.

◆ fromJson()

static fm.liveswitch.SimulcastNotification fm.liveswitch.SimulcastNotification.fromJson ( String  simulcastNotificationJson)
static

Deserializes an instance from JSON.

Parameters
simulcastNotificationJsonThe instance in JSON format.
Returns
The instance.

◆ fromJsonArray()

static fm.liveswitch.SimulcastNotification [] fm.liveswitch.SimulcastNotification.fromJsonArray ( String  simulcastNotificationJson)
static

Deserializes an array from JSON.

Parameters
simulcastNotificationJsonThe array in JSON format.
Returns
The array.

◆ getMediaDescriptionId()

String fm.liveswitch.SimulcastNotification.getMediaDescriptionId ( )

Gets the media description ID.

◆ getRtpStreamId()

String fm.liveswitch.SimulcastNotification.getRtpStreamId ( )

Gets the RTP stream ID.

◆ getStreamState()

fm.liveswitch.SimulcastStreamState fm.liveswitch.SimulcastNotification.getStreamState ( )

Gets the simulcast stream's state.

◆ getSynchronizationSource()

long fm.liveswitch.SimulcastNotification.getSynchronizationSource ( )

Gets the synchronization source.

◆ serializeProperties()

void fm.liveswitch.SimulcastNotification.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes properties to JSON.

Parameters
jsonObjectThe JSON target.

◆ setMediaDescriptionId()

void fm.liveswitch.SimulcastNotification.setMediaDescriptionId ( String  value)

Sets the media description ID.

◆ setRtpStreamId()

void fm.liveswitch.SimulcastNotification.setRtpStreamId ( String  value)

Sets the RTP stream ID.

◆ setStreamState()

void fm.liveswitch.SimulcastNotification.setStreamState ( fm.liveswitch.SimulcastStreamState  value)

Sets the simulcast stream's state.

◆ setSynchronizationSource()

void fm.liveswitch.SimulcastNotification.setSynchronizationSource ( long  value)

Sets the synchronization source.

◆ toJson() [1/2]

String fm.liveswitch.SimulcastNotification.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.SimulcastNotification.toJson ( fm.liveswitch.SimulcastNotification  simulcastNotification)
static

Serializes an instance to JSON.

Parameters
simulcastNotificationThe instance.
Returns
The instance in JSON format.

◆ toJsonArray()

static String fm.liveswitch.SimulcastNotification.toJsonArray ( fm.liveswitch.SimulcastNotification[]  simulcastNotifications)
static

Serializes an array to JSON.

Parameters
simulcastNotificationsThe array.
Returns
The array in JSON format.