FMLiveSwitchMediaSinkInfo Class Reference

Media sink information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaSinkInfo class. More...
 
(FMLiveSwitchFormatInfo *) - inputFormat
 Gets the media sink input format. More...
 
(NSString *) - label
 Gets the media sink label. More...
 
(NSString *) - outputId
 Gets the media sink output id. More...
 
(NSString *) - outputName
 Gets the media sink output name. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setInputFormat:
 Sets the media sink input format. More...
 
(void) - setLabel:
 Sets the media sink label. More...
 
(void) - setOutputId:
 Sets the media sink output id. More...
 
(void) - setOutputName:
 Sets the media sink output name. More...
 
(void) - setTag:
 Sets the media sink tag. More...
 
(NSString *) - tag
 Gets the media sink 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 *) + fromJsonArrayWithMediaSinkInfosJson:
 Deserializes an array from JSON. More...
 
(FMLiveSwitchMediaSinkInfo *) + fromJsonWithMediaSinkInfoJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaSinkInfo *) + mediaSinkInfo
 Initializes a new instance of the FMLiveSwitchMediaSinkInfo class. More...
 
(NSString *) + toJsonArrayWithMediaSinkInfos:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithMediaSinkInfo:
 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 sink 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.

◆ fromJsonArrayWithMediaSinkInfosJson:

+ (NSMutableArray*) fromJsonArrayWithMediaSinkInfosJson: (NSString *)  mediaSinkInfosJson

Deserializes an array from JSON.

Parameters
mediaSinkInfosJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithMediaSinkInfoJson:

+ (FMLiveSwitchMediaSinkInfo*) fromJsonWithMediaSinkInfoJson: (NSString *)  mediaSinkInfoJson

Deserializes an instance from JSON.

Parameters
mediaSinkInfoJsonThe serialized JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaSinkInfo class.

Implements FMLiveSwitchInfo.

◆ inputFormat

- (FMLiveSwitchFormatInfo*) inputFormat

Gets the media sink input format.

◆ label

- (NSString*) label

Gets the media sink label.

◆ mediaSinkInfo

+ (FMLiveSwitchMediaSinkInfo*) mediaSinkInfo

Initializes a new instance of the FMLiveSwitchMediaSinkInfo class.

◆ outputId

- (NSString*) outputId

Gets the media sink output id.

◆ outputName

- (NSString*) outputName

Gets the media sink output name.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setInputFormat:

- (void) setInputFormat: (FMLiveSwitchFormatInfo *)  value

Sets the media sink input format.

◆ setLabel:

- (void) setLabel: (NSString *)  value

Sets the media sink label.

◆ setOutputId:

- (void) setOutputId: (NSString *)  value

Sets the media sink output id.

◆ setOutputName:

- (void) setOutputName: (NSString *)  value

Sets the media sink output name.

◆ setTag:

- (void) setTag: (NSString *)  value

Sets the media sink tag.

◆ tag

- (NSString*) tag

Gets the media sink tag.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithMediaSinkInfos:

+ (NSString*) toJsonArrayWithMediaSinkInfos: (NSMutableArray *)  mediaSinkInfos

Serializes an array to JSON.

Parameters
mediaSinkInfosThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithMediaSinkInfo:

+ (NSString*) toJsonWithMediaSinkInfo: (FMLiveSwitchMediaSinkInfo *)  mediaSinkInfo

Serializes an instance to JSON.

Parameters
mediaSinkInfoThe instance to serialize.
Returns
The serialized JSON.