FMLiveSwitchTransportInfo Class Reference

Transport Information. More...

Instance Methods

(NSString *) - activeCandidatePairId
 Gets the active candidate pair identifier. More...
(NSMutableArray *) - candidatePairs
 Gets the candidate pairs. More...
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchTransportInfo class. More...
(NSMutableArray *) - localCandidates
 Gets the local candidates. More...
(FMLiveSwitchCertificateInfo *) - localCertificate
 Gets the local certificate. More...
(NSMutableArray *) - remoteCandidates
 Gets the remote candidates. More...
(FMLiveSwitchCertificateInfo *) - remoteCertificate
 Gets the remote certificate. More...
(FMLiveSwitchTransportReport *) - report
 Gets the transport report. More...
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
(void) - setActiveCandidatePairId:
 Sets the active candidate pair identifier. More...
(void) - setCandidatePairs:
 Sets the candidate pairs. More...
(void) - setLocalCandidates:
 Sets the local candidates. More...
(void) - setLocalCertificate:
 Sets the local certificate. More...
(void) - setRemoteCandidates:
 Sets the remote candidates. More...
(void) - setRemoteCertificate:
 Sets the remote certificate. More...
(void) - setReport:
 Sets the transport report. 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 *) + fromJsonArrayWithTransportInfosJson:
 Deserializes an array from JSON. More...
(FMLiveSwitchTransportInfo *) + fromJsonWithTransportReportJson:
 Deserializes Json to a TransportReport. More...
(NSString *) + toJsonArrayWithTransportInfos:
 Serializes an array to JSON. More...
(NSString *) + toJsonWithTransportReport:
 Serializes an instance to Json. More...
(FMLiveSwitchTransportInfo *) + transportInfo
 Initializes a new instance of the FMLiveSwitchTransportInfo 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

Transport Information.

Method Documentation

◆ activeCandidatePairId

- (NSString*) activeCandidatePairId

Gets the active candidate pair identifier.

◆ candidatePairs

- (NSMutableArray*) candidatePairs

Gets the candidate pairs.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ fromJsonArrayWithTransportInfosJson:

+ (NSMutableArray*) fromJsonArrayWithTransportInfosJson: (NSString *)  transportInfosJson

Deserializes an array from JSON.

transportInfosJsonThe serialized JSON.
The deserialized array.

◆ fromJsonWithTransportReportJson:

+ (FMLiveSwitchTransportInfo*) fromJsonWithTransportReportJson: (NSString *)  transportReportJson

Deserializes Json to a TransportReport.

transportReportJsonThe serialized Json.
The deserialized TransportReport.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchTransportInfo class.

Implements FMLiveSwitchInfo.

◆ localCandidates

- (NSMutableArray*) localCandidates

Gets the local candidates.

◆ localCertificate

- (FMLiveSwitchCertificateInfo*) localCertificate

Gets the local certificate.

◆ remoteCandidates

- (NSMutableArray*) remoteCandidates

Gets the remote candidates.

◆ remoteCertificate

- (FMLiveSwitchCertificateInfo*) remoteCertificate

Gets the remote certificate.

◆ report

Gets the transport report.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setActiveCandidatePairId:

- (void) setActiveCandidatePairId: (NSString *)  value

Sets the active candidate pair identifier.

◆ setCandidatePairs:

- (void) setCandidatePairs: (NSMutableArray *)  value

Sets the candidate pairs.

◆ setLocalCandidates:

- (void) setLocalCandidates: (NSMutableArray *)  value

Sets the local candidates.

◆ setLocalCertificate:

- (void) setLocalCertificate: (FMLiveSwitchCertificateInfo *)  value

Sets the local certificate.

◆ setRemoteCandidates:

- (void) setRemoteCandidates: (NSMutableArray *)  value

Sets the remote candidates.

◆ setRemoteCertificate:

- (void) setRemoteCertificate: (FMLiveSwitchCertificateInfo *)  value

Sets the remote certificate.

◆ setReport:

- (void) setReport: (FMLiveSwitchTransportReport *)  value

Sets the transport report.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonArrayWithTransportInfos:

+ (NSString*) toJsonArrayWithTransportInfos: (NSMutableArray *)  transportInfos

Serializes an array to JSON.

transportInfosThe array to serialize.
The serialized JSON.

◆ toJsonWithTransportReport:

+ (NSString*) toJsonWithTransportReport: (FMLiveSwitchTransportInfo *)  transportReport

Serializes an instance to Json.

transportReportThe instance to serialize.
Serialized Json.

◆ transportInfo

+ (FMLiveSwitchTransportInfo*) transportInfo

Initializes a new instance of the FMLiveSwitchTransportInfo class.