fm.liveswitch.ChannelLayoutConfig Class Reference

Channel layout configuration. More...

Public Member Functions

 ChannelLayoutConfig ()
 
String[] getExcludedClientIds ()
 Gets the client identifiers to exclude. More...
 
String[] getExcludedConnectionIds ()
 Gets the connection identifiers to exclude. More...
 
String[] getExcludedDeviceIds ()
 Gets the device identifiers to exclude. More...
 
String[] getExcludedUserIds ()
 Gets the user identifiers to exclude. More...
 
void setExcludedClientIds (String[] value)
 Sets the client identifiers to exclude. More...
 
void setExcludedConnectionIds (String[] value)
 Sets the connection identifiers to exclude. More...
 
void setExcludedDeviceIds (String[] value)
 Sets the device identifiers to exclude. More...
 
void setExcludedUserIds (String[] value)
 Sets the user identifiers to exclude. More...
 
String toJson ()
 Serializes this channel layout configuration to JSON. More...
 
- Public Member Functions inherited from fm.liveswitch.LayoutConfig
fm.liveswitch.NullableInteger getPriority ()
 Gets the layout proirity. More...
 
String getZone ()
 Gets the layout zone. More...
 
 LayoutConfig ()
 
void setPriority (fm.liveswitch.NullableInteger value)
 Sets the layout proirity. More...
 
void setZone (String value)
 Sets the layout zone. More...
 

Static Public Member Functions

static fm.liveswitch.ChannelLayoutConfig fromJson (String channelLayoutConfigJson)
 Deserializes a channel layout config from JSON. More...
 
static String toJson (fm.liveswitch.ChannelLayoutConfig channelLayoutConfig)
 Serializes a channel layout config 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...
 

Detailed Description

Channel layout configuration.

Constructor & Destructor Documentation

◆ ChannelLayoutConfig()

fm.liveswitch.ChannelLayoutConfig.ChannelLayoutConfig ( )

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.ChannelLayoutConfig.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.LayoutConfig.

◆ fromJson()

static fm.liveswitch.ChannelLayoutConfig fm.liveswitch.ChannelLayoutConfig.fromJson ( String  channelLayoutConfigJson)
static

Deserializes a channel layout config from JSON.

Parameters
channelLayoutConfigJsonThe channel layout configuration as JSON.
Returns
The channel layout configuration.

◆ getExcludedClientIds()

String [] fm.liveswitch.ChannelLayoutConfig.getExcludedClientIds ( )

Gets the client identifiers to exclude.

◆ getExcludedConnectionIds()

String [] fm.liveswitch.ChannelLayoutConfig.getExcludedConnectionIds ( )

Gets the connection identifiers to exclude.

◆ getExcludedDeviceIds()

String [] fm.liveswitch.ChannelLayoutConfig.getExcludedDeviceIds ( )

Gets the device identifiers to exclude.

◆ getExcludedUserIds()

String [] fm.liveswitch.ChannelLayoutConfig.getExcludedUserIds ( )

Gets the user identifiers to exclude.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.LayoutConfig.

◆ setExcludedClientIds()

void fm.liveswitch.ChannelLayoutConfig.setExcludedClientIds ( String[]  value)

Sets the client identifiers to exclude.

◆ setExcludedConnectionIds()

void fm.liveswitch.ChannelLayoutConfig.setExcludedConnectionIds ( String[]  value)

Sets the connection identifiers to exclude.

◆ setExcludedDeviceIds()

void fm.liveswitch.ChannelLayoutConfig.setExcludedDeviceIds ( String[]  value)

Sets the device identifiers to exclude.

◆ setExcludedUserIds()

void fm.liveswitch.ChannelLayoutConfig.setExcludedUserIds ( String[]  value)

Sets the user identifiers to exclude.

◆ toJson() [1/2]

String fm.liveswitch.ChannelLayoutConfig.toJson ( )

Serializes this channel layout configuration to JSON.

Returns
The channel layout configuration as JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ChannelLayoutConfig.toJson ( fm.liveswitch.ChannelLayoutConfig  channelLayoutConfig)
static

Serializes a channel layout config to JSON.

Parameters
channelLayoutConfigThe layout configuration.
Returns
The channel layout configuration as JSON.