FMLiveSwitchLayoutConfig Class Reference

Layout configuration. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(FMLiveSwitchNullableInt *) - priority
 Gets the layout proirity. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setPriority:
 Sets the layout proirity. More...
 
(void) - setZone:
 Sets the layout zone. More...
 
(NSString *) - zone
 Gets the layout zone. More...
 

Class Methods

(FMLiveSwitchLayoutConfig *) + layoutConfig
 

Detailed Description

Layout configuration.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implemented in FMLiveSwitchChannelUserLayoutConfig, FMLiveSwitchChannelLayoutConfig, FMLiveSwitchChannelDeviceLayoutConfig, and FMLiveSwitchChannelClientLayoutConfig.

◆ init

◆ layoutConfig

+ (FMLiveSwitchLayoutConfig*) layoutConfig

◆ priority

- (FMLiveSwitchNullableInt*) priority

Gets the layout proirity.

◆ serializePropertiesWithJsonObject:

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

◆ setPriority:

- (void) setPriority: (FMLiveSwitchNullableInt *)  value

Sets the layout proirity.

◆ setZone:

- (void) setZone: (NSString *)  value

Sets the layout zone.

◆ zone

- (NSString*) zone

Gets the layout zone.