FMLiveSwitchMediaSourceInfo Class Reference

Media source information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaSourceInfo class. More...
 
(NSString *) - inputId
 Gets the media source input identifier. More...
 
(NSString *) - inputName
 Gets the media source input name. More...
 
(NSString *) - label
 Gets the media source label. More...
 
(FMLiveSwitchNullableBool *) - muted
 Gets the whether the media source is muted. More...
 
(FMLiveSwitchFormatInfo *) - outputFormat
 Gets the media source output format. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setInputId:
 Sets the media source input identifier. More...
 
(void) - setInputName:
 Sets the media source input name. More...
 
(void) - setLabel:
 Sets the media source label. More...
 
(void) - setMuted:
 Sets the whether the media source is muted. More...
 
(void) - setOutputFormat:
 Sets the media source output format. More...
 
(void) - setTag:
 Sets the media source tag. More...
 
(NSString *) - tag
 Gets the media source tag. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithMediaSourceInfosJson:
 Deserializes an array from JSON. More...
 
(FMLiveSwitchMediaSourceInfo *) + fromJsonWithMediaSourceInfoJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaSourceInfo *) + mediaSourceInfo
 Initializes a new instance of the FMLiveSwitchMediaSourceInfo class. More...
 
(NSString *) + toJsonArrayWithMediaSourceInfos:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithMediaSourceInfo:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Media source information.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ fromJsonArrayWithMediaSourceInfosJson:

+ (NSMutableArray*) fromJsonArrayWithMediaSourceInfosJson: (NSString *)  mediaSourceInfosJson

Deserializes an array from JSON.

Parameters
mediaSourceInfosJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithMediaSourceInfoJson:

+ (FMLiveSwitchMediaSourceInfo*) fromJsonWithMediaSourceInfoJson: (NSString *)  mediaSourceInfoJson

Deserializes an instance from JSON.

Parameters
mediaSourceInfoJsonThe serialized JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaSourceInfo class.

Implements FMLiveSwitchInfo.

◆ inputId

- (NSString*) inputId

Gets the media source input identifier.

◆ inputName

- (NSString*) inputName

Gets the media source input name.

◆ label

- (NSString*) label

Gets the media source label.

◆ mediaSourceInfo

+ (FMLiveSwitchMediaSourceInfo*) mediaSourceInfo

Initializes a new instance of the FMLiveSwitchMediaSourceInfo class.

◆ muted

- (FMLiveSwitchNullableBool*) muted

Gets the whether the media source is muted.

◆ outputFormat

- (FMLiveSwitchFormatInfo*) outputFormat

Gets the media source output format.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setInputId:

- (void) setInputId: (NSString *)  value

Sets the media source input identifier.

◆ setInputName:

- (void) setInputName: (NSString *)  value

Sets the media source input name.

◆ setLabel:

- (void) setLabel: (NSString *)  value

Sets the media source label.

◆ setMuted:

- (void) setMuted: (FMLiveSwitchNullableBool *)  value

Sets the whether the media source is muted.

◆ setOutputFormat:

- (void) setOutputFormat: (FMLiveSwitchFormatInfo *)  value

Sets the media source output format.

◆ setTag:

- (void) setTag: (NSString *)  value

Sets the media source tag.

◆ tag

- (NSString*) tag

Gets the media source tag.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithMediaSourceInfos:

+ (NSString*) toJsonArrayWithMediaSourceInfos: (NSMutableArray *)  mediaSourceInfos

Serializes an array to JSON.

Parameters
mediaSourceInfosThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithMediaSourceInfo:

+ (NSString*) toJsonWithMediaSourceInfo: (FMLiveSwitchMediaSourceInfo *)  mediaSourceInfo

Serializes an instance to JSON.

Parameters
mediaSourceInfoThe instance to serialize.
Returns
The serialized JSON.