fm.liveswitch.ChannelUserLayoutConfig Class Reference

Channel user layout configuration. More...

Public Member Functions

 ChannelUserLayoutConfig ()
 
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...
 
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...
 
String toJson ()
 Serializes this channel user 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.ChannelUserLayoutConfig fromJson (String channelUserLayoutConfigJson)
 Deserializes a channel user layout config from JSON. More...
 
static String toJson (fm.liveswitch.ChannelUserLayoutConfig channelUserLayoutConfig)
 Serializes a channel user 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 user layout configuration.

Constructor & Destructor Documentation

◆ ChannelUserLayoutConfig()

fm.liveswitch.ChannelUserLayoutConfig.ChannelUserLayoutConfig ( )

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.ChannelUserLayoutConfig.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.ChannelUserLayoutConfig fm.liveswitch.ChannelUserLayoutConfig.fromJson ( String  channelUserLayoutConfigJson)
static

Deserializes a channel user layout config from JSON.

Parameters
channelUserLayoutConfigJsonThe channel user layout configuration as JSON.
Returns
The channel user layout configuration.

◆ getExcludedClientIds()

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

Gets the client identifiers to exclude.

◆ getExcludedConnectionIds()

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

Gets the connection identifiers to exclude.

◆ getExcludedDeviceIds()

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

Gets the device identifiers to exclude.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.LayoutConfig.

◆ setExcludedClientIds()

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

Sets the client identifiers to exclude.

◆ setExcludedConnectionIds()

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

Sets the connection identifiers to exclude.

◆ setExcludedDeviceIds()

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

Sets the device identifiers to exclude.

◆ toJson() [1/2]

String fm.liveswitch.ChannelUserLayoutConfig.toJson ( )

Serializes this channel user layout configuration to JSON.

Returns
The channel user layout configuration as JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ChannelUserLayoutConfig.toJson ( fm.liveswitch.ChannelUserLayoutConfig  channelUserLayoutConfig)
static

Serializes a channel user layout config to JSON.

Parameters
channelUserLayoutConfigThe channel user layout configuration.
Returns
The channel user layout configuration as JSON.