FMLiveSwitchChannelClientLayoutConfig Class Reference

Channel client configuration. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(NSMutableArray *) - excludedConnectionIds
 Gets the connection identifiers to exclude. More...
 
(instancetype) - init
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setExcludedConnectionIds:
 Sets the connection identifiers to exclude. More...
 
(NSString *) - toJson
 Serializes this channel device layout configuration to JSON. More...
 
- Instance Methods inherited from FMLiveSwitchLayoutConfig
(FMLiveSwitchNullableInt *) - priority
 Gets the layout proirity. More...
 
(void) - setPriority:
 Sets the layout proirity. More...
 
(void) - setZone:
 Sets the layout zone. More...
 
(NSString *) - zone
 Gets the layout zone. More...
 

Class Methods

(FMLiveSwitchChannelClientLayoutConfig *) + channelClientLayoutConfig
 
(FMLiveSwitchChannelClientLayoutConfig *) + fromJsonWithChannelClientLayoutConfigJson:
 Deserializes a channel client layout config from JSON. More...
 
(NSString *) + toJsonWithChannelClientLayoutConfig:
 Serializes a channel client layout config to JSON. More...
 
- Class Methods inherited from FMLiveSwitchLayoutConfig
(FMLiveSwitchLayoutConfig *) + layoutConfig
 

Detailed Description

Channel client configuration.

Method Documentation

◆ channelClientLayoutConfig

+ (FMLiveSwitchChannelClientLayoutConfig*) channelClientLayoutConfig

◆ deserializePropertiesWithKey:valueJson:

- (void) deserializePropertiesWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchLayoutConfig.

◆ excludedConnectionIds

- (NSMutableArray*) excludedConnectionIds

Gets the connection identifiers to exclude.

◆ fromJsonWithChannelClientLayoutConfigJson:

+ (FMLiveSwitchChannelClientLayoutConfig*) fromJsonWithChannelClientLayoutConfigJson: (NSString *)  channelClientLayoutConfigJson

Deserializes a channel client layout config from JSON.

Parameters
channelClientLayoutConfigJsonThe channel client layout configuration as JSON.
Returns
The channel device layout configuration.

◆ init

- (instancetype) init

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchLayoutConfig.

◆ setExcludedConnectionIds:

- (void) setExcludedConnectionIds: (NSMutableArray *)  value

Sets the connection identifiers to exclude.

◆ toJson

- (NSString*) toJson

Serializes this channel device layout configuration to JSON.

Returns
The channel device layout configuration as JSON.

◆ toJsonWithChannelClientLayoutConfig:

+ (NSString*) toJsonWithChannelClientLayoutConfig: (FMLiveSwitchChannelClientLayoutConfig *)  channelClientLayoutConfig

Serializes a channel client layout config to JSON.

Parameters
channelClientLayoutConfigThe channel client layout configuration.
Returns
The channel client layout configuration as JSON.