FMLiveSwitchMediaTrackReport Class Reference

Media track report. More...

Instance Methods

(FMLiveSwitchNullableInt *) - bitrate
 Gets the bitrate. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(FMLiveSwitchNullableInt *) - frameHeight
 Gets the frame height. More...
 
(FMLiveSwitchNullableDouble *) - frameRate
 Gets the frame rate. More...
 
(FMLiveSwitchNullableLong *) - framesCorrupted
 Gets the number of frames corrupted. More...
 
(FMLiveSwitchNullableLong *) - framesDecoded
 Gets the number of frames decoded. More...
 
(FMLiveSwitchNullableLong *) - framesDropped
 Gets the number of frames dropped. More...
 
(FMLiveSwitchNullableLong *) - framesEncoded
 Gets the number of frames encoded. More...
 
(FMLiveSwitchNullableLong *) - framesReceived
 Gets the number of frames received. More...
 
(FMLiveSwitchNullableLong *) - framesSent
 Gets the number of frames sent. More...
 
(FMLiveSwitchNullableInt *) - frameWidth
 Gets the frame width. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaTrackReport class. More...
 
(FMLiveSwitchNullableInt *) - maxBitrate
 Gets the maximum bitrate. More...
 
(FMLiveSwitchNullableInt *) - minBitrate
 Gets the minimum bitrate. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setBitrate:
 Sets the bitrate. More...
 
(void) - setFrameHeight:
 Sets the frame height. More...
 
(void) - setFrameRate:
 Sets the frame rate. More...
 
(void) - setFramesCorrupted:
 Sets the number of frames corrupted. More...
 
(void) - setFramesDecoded:
 Sets the number of frames decoded. More...
 
(void) - setFramesDropped:
 Sets the number of frames dropped. More...
 
(void) - setFramesEncoded:
 Sets the number of frames encoded. More...
 
(void) - setFramesReceived:
 Sets the number of frames received. More...
 
(void) - setFramesSent:
 Sets the number of frames sent. More...
 
(void) - setFrameWidth:
 Sets the frame width. More...
 
(void) - setMaxBitrate:
 Sets the maximum bitrate. More...
 
(void) - setMinBitrate:
 Sets the minimum bitrate. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithArrayJson:
 Derializes an array from JSON. More...
 
(FMLiveSwitchMediaTrackReport *) + fromJsonWithInstanceJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaTrackReport *) + mediaTrackReport
 Initializes a new instance of the FMLiveSwitchMediaTrackReport class. More...
 
(NSString *) + toJsonArray:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithInstance:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchReport
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for a report. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for a report. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for a report. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for a report. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for a report. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for a report. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for a report. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for a report. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for a report. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for a report. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an array for a report. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for a report. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for a report. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for a report. More...
 
(FMLiveSwitchReport *) + report
 

Detailed Description

Media track report.

Method Documentation

◆ bitrate

- (FMLiveSwitchNullableInt*) bitrate

Gets the bitrate.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchReport.

◆ frameHeight

- (FMLiveSwitchNullableInt*) frameHeight

Gets the frame height.

◆ frameRate

- (FMLiveSwitchNullableDouble*) frameRate

Gets the frame rate.

◆ framesCorrupted

- (FMLiveSwitchNullableLong*) framesCorrupted

Gets the number of frames corrupted.

◆ framesDecoded

- (FMLiveSwitchNullableLong*) framesDecoded

Gets the number of frames decoded.

◆ framesDropped

- (FMLiveSwitchNullableLong*) framesDropped

Gets the number of frames dropped.

◆ framesEncoded

- (FMLiveSwitchNullableLong*) framesEncoded

Gets the number of frames encoded.

◆ framesReceived

- (FMLiveSwitchNullableLong*) framesReceived

Gets the number of frames received.

◆ framesSent

- (FMLiveSwitchNullableLong*) framesSent

Gets the number of frames sent.

◆ frameWidth

- (FMLiveSwitchNullableInt*) frameWidth

Gets the frame width.

◆ fromJsonArrayWithArrayJson:

+ (NSMutableArray*) fromJsonArrayWithArrayJson: (NSString *)  arrayJson

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ fromJsonWithInstanceJson:

+ (FMLiveSwitchMediaTrackReport*) fromJsonWithInstanceJson: (NSString *)  instanceJson

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaTrackReport class.

Implements FMLiveSwitchReport.

◆ maxBitrate

- (FMLiveSwitchNullableInt*) maxBitrate

Gets the maximum bitrate.

◆ mediaTrackReport

+ (FMLiveSwitchMediaTrackReport*) mediaTrackReport

Initializes a new instance of the FMLiveSwitchMediaTrackReport class.

◆ minBitrate

- (FMLiveSwitchNullableInt*) minBitrate

Gets the minimum bitrate.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchReport.

◆ setBitrate:

- (void) setBitrate: (FMLiveSwitchNullableInt *)  value

Sets the bitrate.

◆ setFrameHeight:

- (void) setFrameHeight: (FMLiveSwitchNullableInt *)  value

Sets the frame height.

◆ setFrameRate:

- (void) setFrameRate: (FMLiveSwitchNullableDouble *)  value

Sets the frame rate.

◆ setFramesCorrupted:

- (void) setFramesCorrupted: (FMLiveSwitchNullableLong *)  value

Sets the number of frames corrupted.

◆ setFramesDecoded:

- (void) setFramesDecoded: (FMLiveSwitchNullableLong *)  value

Sets the number of frames decoded.

◆ setFramesDropped:

- (void) setFramesDropped: (FMLiveSwitchNullableLong *)  value

Sets the number of frames dropped.

◆ setFramesEncoded:

- (void) setFramesEncoded: (FMLiveSwitchNullableLong *)  value

Sets the number of frames encoded.

◆ setFramesReceived:

- (void) setFramesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of frames received.

◆ setFramesSent:

- (void) setFramesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of frames sent.

◆ setFrameWidth:

- (void) setFrameWidth: (FMLiveSwitchNullableInt *)  value

Sets the frame width.

◆ setMaxBitrate:

- (void) setMaxBitrate: (FMLiveSwitchNullableInt *)  value

Sets the maximum bitrate.

◆ setMinBitrate:

- (void) setMinBitrate: (FMLiveSwitchNullableInt *)  value

Sets the minimum bitrate.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArray:

+ (NSString*) toJsonArray: (NSMutableArray *)  array

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.

◆ toJsonWithInstance:

+ (NSString*) toJsonWithInstance: (FMLiveSwitchMediaTrackReport *)  instance

Serializes an instance to JSON.

Parameters
instanceThe instance.
Returns
The serialized instance JSON.