FMLiveSwitchMediaSenderInfo Class Reference

Media sender information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaSenderInfo class. More...
 
(FMLiveSwitchMediaSenderReport *) - report
 Gets report. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setReport:
 Sets report. More...
 
(void) - setSource:
 Sets source. More...
 
(FMLiveSwitchMediaSourceInfo *) - source
 Gets source. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
- Instance Methods inherited from FMLiveSwitchMediaComponentInfo
(FMLiveSwitchCodecInfo *) - codec
 Gets codec. More...
 
(instancetype) - initWithStats:lastStats:
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
(void) - setCodec:
 Sets codec. More...
 
(void) - setSynchronizationSource:
 Sets synchronization source of media track. More...
 
(void) - setTrack:
 Sets track. More...
 
(FMLiveSwitchNullableLong *) - synchronizationSource
 Gets synchronization source of media track. More...
 
(FMLiveSwitchMediaTrackInfo *) - track
 Gets track. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithMediaSendersJson:
 Deserializes an array from JSON. More...
 
(FMLiveSwitchMediaSenderInfo *) + fromJsonWithMediaSenderJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaSenderInfo *) + mediaSenderInfo
 Initializes a new instance of the FMLiveSwitchMediaSenderInfo class. More...
 
(NSString *) + toJsonArrayWithMediaSenders:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithMediaSender:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchMediaComponentInfo
(FMLiveSwitchMediaComponentInfo *) + mediaComponentInfo
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
(FMLiveSwitchMediaComponentInfo *) + mediaComponentInfoWithStats:lastStats:
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. 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 sender information.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchMediaComponentInfo.

◆ fromJsonArrayWithMediaSendersJson:

+ (NSMutableArray*) fromJsonArrayWithMediaSendersJson: (NSString *)  mediaSendersJson

Deserializes an array from JSON.

Parameters
mediaSendersJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithMediaSenderJson:

+ (FMLiveSwitchMediaSenderInfo*) fromJsonWithMediaSenderJson: (NSString *)  mediaSenderJson

Deserializes an instance from JSON.

Parameters
mediaSenderJsonThe serialized JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaSenderInfo class.

Implements FMLiveSwitchMediaComponentInfo.

◆ mediaSenderInfo

+ (FMLiveSwitchMediaSenderInfo*) mediaSenderInfo

Initializes a new instance of the FMLiveSwitchMediaSenderInfo class.

◆ report

Gets report.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchMediaComponentInfo.

◆ setReport:

- (void) setReport: (FMLiveSwitchMediaSenderReport *)  value

Sets report.

◆ setSource:

- (void) setSource: (FMLiveSwitchMediaSourceInfo *)  value

Sets source.

◆ source

Gets source.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithMediaSenders:

+ (NSString*) toJsonArrayWithMediaSenders: (NSMutableArray *)  mediaSenders

Serializes an array to JSON.

Parameters
mediaSendersThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithMediaSender:

+ (NSString*) toJsonWithMediaSender: (FMLiveSwitchMediaSenderInfo *)  mediaSender

Serializes an instance to JSON.

Parameters
mediaSenderThe instance to serialize.
Returns
The serialized JSON.