Candidate stats. More...
Instance Methods | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchCandidateStats class. More... | |
| (NSString *) | - ipAddress |
| Gets the IP address. More... | |
| (bool) | - isEquivalentWithInstance: |
| Checks if a candidate is equivalent to this one. More... | |
| (bool) | - isHost |
| Gets whether the candidate is host/local. More... | |
| (bool) | - isReflexive |
| Gets whether the candidate is reflexive. More... | |
| (bool) | - isRelayed |
| Gets whether the candidate is relayed. More... | |
| (int) | - port |
| Gets the port. More... | |
| (long long) | - priority |
| Gets the priority. More... | |
| (FMLiveSwitchProtocolType) | - protocol |
| Gets the protocol. More... | |
| (NSString *) | - relatedIPAddress |
| Gets the related IP address. More... | |
| (int) | - relatedPort |
| Gets the related port. More... | |
| (FMLiveSwitchProtocolType) | - relayProtocol |
| Gets the relay protocol. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (NSString *) | - toJson |
| Serializes this to JSON. More... | |
| (FMLiveSwitchProtocolType) | - turnProtocol |
| Gets the relay protocol. More... | |
| (FMLiveSwitchCandidateType) | - type |
| Gets the type. More... | |
Instance Methods inherited from FMLiveSwitchBaseStats | |
| (NSString *) | - id |
| Gets the identifier of the object generating these stats. More... | |
| (NSDate *) | - timestamp |
| Gets the timestamp when these stats were generated. More... | |
Instance Methods inherited from <FMLiveSwitchIEquivalent> | |
| (bool) | - isEquivalentWithInstance: |
| Checks if an instance is equivalent to this one. More... | |
Class Methods | |
| (FMLiveSwitchCandidateStats *) | + candidateStats |
| Initializes a new instance of the FMLiveSwitchCandidateStats class. More... | |
| (NSMutableArray *) | + fromJsonArrayWithCandidatesJson: |
| Derializes an array of candidate stats from JSON. More... | |
| (FMLiveSwitchCandidateStats *) | + fromJsonWithCandidateJson: |
| Derializes candidate stats from JSON. More... | |
| (NSString *) | + toJsonArrayWithCandidates: |
| Serializes an array of candidate stats to JSON. More... | |
| (NSString *) | + toJsonWithCandidate: |
| Serializes candidate stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Candidate stats.
| + (FMLiveSwitchCandidateStats*) candidateStats |
Initializes a new instance of the FMLiveSwitchCandidateStats class.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
| + (NSMutableArray*) fromJsonArrayWithCandidatesJson: | (NSString *) | candidatesJson |
Derializes an array of candidate stats from JSON.
| candidatesJson | The candidates' stats JSON. |
| + (FMLiveSwitchCandidateStats*) fromJsonWithCandidateJson: | (NSString *) | candidateJson |
Derializes candidate stats from JSON.
| candidateJson | The candidate's stats JSON. |
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchCandidateStats class.
Implements FMLiveSwitchBaseStats.
| - (NSString*) ipAddress |
Gets the IP address.
| - (bool) isEquivalentWithInstance: | (FMLiveSwitchCandidateStats *) | instance |
Checks if a candidate is equivalent to this one.
| instance | The candidate. |
| - (bool) isHost |
Gets whether the candidate is host/local.
| - (bool) isReflexive |
Gets whether the candidate is reflexive.
| - (bool) isRelayed |
Gets whether the candidate is relayed.
| - (int) port |
Gets the port.
| - (long long) priority |
Gets the priority.
| - (FMLiveSwitchProtocolType) protocol |
Gets the protocol.
| - (NSString*) relatedIPAddress |
Gets the related IP address.
| - (int) relatedPort |
Gets the related port.
| - (FMLiveSwitchProtocolType) relayProtocol |
Gets the relay protocol.
| - (NSString*) toJson |
Serializes this to JSON.
| + (NSString*) toJsonArrayWithCandidates: | (NSMutableArray *) | candidates |
Serializes an array of candidate stats to JSON.
| candidates | The candidates' stats. |
| + (NSString*) toJsonWithCandidate: | (FMLiveSwitchCandidateStats *) | candidate |
Serializes candidate stats to JSON.
| candidate | The candidate's stats. |
| - (FMLiveSwitchProtocolType) turnProtocol |
Gets the relay protocol.
| - (FMLiveSwitchCandidateType) type |
Gets the type.