FMLiveSwitchChannelUserLayoutConfig Class Reference

Channel user layout configuration. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(NSMutableArray *) - excludedClientIds
 Gets the client identifiers to exclude. More...
 
(NSMutableArray *) - excludedConnectionIds
 Gets the connection identifiers to exclude. More...
 
(NSMutableArray *) - excludedDeviceIds
 Gets the device identifiers to exclude. More...
 
(instancetype) - init
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setExcludedClientIds:
 Sets the client identifiers to exclude. More...
 
(void) - setExcludedConnectionIds:
 Sets the connection identifiers to exclude. More...
 
(void) - setExcludedDeviceIds:
 Sets the device identifiers to exclude. More...
 
(NSString *) - toJson
 Serializes this channel user 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

(FMLiveSwitchChannelUserLayoutConfig *) + channelUserLayoutConfig
 
(FMLiveSwitchChannelUserLayoutConfig *) + fromJsonWithChannelUserLayoutConfigJson:
 Deserializes a channel user layout config from JSON. More...
 
(NSString *) + toJsonWithChannelUserLayoutConfig:
 Serializes a channel user layout config to JSON. More...
 
- Class Methods inherited from FMLiveSwitchLayoutConfig
(FMLiveSwitchLayoutConfig *) + layoutConfig
 

Detailed Description

Channel user layout configuration.

Method Documentation

◆ channelUserLayoutConfig

+ (FMLiveSwitchChannelUserLayoutConfig*) channelUserLayoutConfig

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchLayoutConfig.

◆ excludedClientIds

- (NSMutableArray*) excludedClientIds

Gets the client identifiers to exclude.

◆ excludedConnectionIds

- (NSMutableArray*) excludedConnectionIds

Gets the connection identifiers to exclude.

◆ excludedDeviceIds

- (NSMutableArray*) excludedDeviceIds

Gets the device identifiers to exclude.

◆ fromJsonWithChannelUserLayoutConfigJson:

+ (FMLiveSwitchChannelUserLayoutConfig*) fromJsonWithChannelUserLayoutConfigJson: (NSString *)  channelUserLayoutConfigJson

Deserializes a channel user layout config from JSON.

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

◆ init

- (instancetype) init

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchLayoutConfig.

◆ setExcludedClientIds:

- (void) setExcludedClientIds: (NSMutableArray *)  value

Sets the client identifiers to exclude.

◆ setExcludedConnectionIds:

- (void) setExcludedConnectionIds: (NSMutableArray *)  value

Sets the connection identifiers to exclude.

◆ setExcludedDeviceIds:

- (void) setExcludedDeviceIds: (NSMutableArray *)  value

Sets the device identifiers to exclude.

◆ toJson

- (NSString*) toJson

Serializes this channel user layout configuration to JSON.

Returns
The channel user layout configuration as JSON.

◆ toJsonWithChannelUserLayoutConfig:

+ (NSString*) toJsonWithChannelUserLayoutConfig: (FMLiveSwitchChannelUserLayoutConfig *)  channelUserLayoutConfig

Serializes a channel user layout config to JSON.

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