Candidate pair stats. More...
Instance Methods | |
| (long long) | - bytesReceived |
| Gets the number of bytes received. More... | |
| (long long) | - bytesSent |
| Gets the number of bytes sent. More... | |
| (long long) | - consentRequestsReceived |
| Gets the number of consent requests received. More... | |
| (long long) | - consentRequestsSent |
| Gets the number of consent requests sent. More... | |
| (long long) | - consentResponsesReceived |
| Gets the number of consent responses received. More... | |
| (long long) | - consentResponsesSent |
| Gets the number of consent responses sent. More... | |
| (int) | - currentRoundTripTime |
| Gets the current round trip time in milliseconds. More... | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchCandidatePairStats class. More... | |
| (bool) | - isEquivalentWithInstance: |
| Checks if a candidate pair is equivalent to this one. More... | |
| (NSString *) | - localCandidateId |
| Gets the local candidate identifier. More... | |
| (bool) | - nominated |
| Gets whether the candidate pair is nominated. More... | |
| (long long) | - priority |
| Gets the priority. More... | |
| (NSString *) | - remoteCandidateId |
| Gets the remote candidate identifier. More... | |
| (long long) | - requestsReceived |
| Gets the number of requests received. More... | |
| (long long) | - requestsSent |
| Gets the number of requests sent. More... | |
| (long long) | - responsesReceived |
| Gets the number of responses received. More... | |
| (long long) | - responsesSent |
| Gets the number of responses sent. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (FMLiveSwitchCandidatePairState) | - state |
| Gets the state. More... | |
| (NSString *) | - toJson |
| Serializes this to JSON. More... | |
| (int) | - totalRoundTripTime |
| Gets the total round trip time in milliseconds. More... | |
| (NSString *) | - transportId |
| Gets the transport identifier. 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 | |
| (FMLiveSwitchCandidatePairStats *) | + candidatePairStats |
| Initializes a new instance of the FMLiveSwitchCandidatePairStats class. More... | |
| (NSMutableArray *) | + fromJsonArrayWithCandidatePairsJson: |
| Derializes an array of candidate pair stats from JSON. More... | |
| (FMLiveSwitchCandidatePairStats *) | + fromJsonWithCandidatePairJson: |
| Derializes candidate pair stats from JSON. More... | |
| (NSString *) | + toJsonArrayWithCandidatePairs: |
| Serializes an array of candidate pair stats to JSON. More... | |
| (NSString *) | + toJsonWithCandidatePair: |
| Serializes candidate pair stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Candidate pair stats.
| - (long long) bytesReceived |
Gets the number of bytes received.
| - (long long) bytesSent |
Gets the number of bytes sent.
| + (FMLiveSwitchCandidatePairStats*) candidatePairStats |
Initializes a new instance of the FMLiveSwitchCandidatePairStats class.
| - (long long) consentRequestsReceived |
Gets the number of consent requests received.
| - (long long) consentRequestsSent |
Gets the number of consent requests sent.
| - (long long) consentResponsesReceived |
Gets the number of consent responses received.
| - (long long) consentResponsesSent |
Gets the number of consent responses sent.
| - (int) currentRoundTripTime |
Gets the current round trip time in milliseconds.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
| + (NSMutableArray*) fromJsonArrayWithCandidatePairsJson: | (NSString *) | candidatePairsJson |
Derializes an array of candidate pair stats from JSON.
| candidatePairsJson | The candidate pairs' stats JSON. |
| + (FMLiveSwitchCandidatePairStats*) fromJsonWithCandidatePairJson: | (NSString *) | candidatePairJson |
Derializes candidate pair stats from JSON.
| candidatePairJson | The candidate pair's stats JSON. |
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchCandidatePairStats class.
Implements FMLiveSwitchBaseStats.
| - (bool) isEquivalentWithInstance: | (FMLiveSwitchCandidatePairStats *) | instance |
Checks if a candidate pair is equivalent to this one.
| instance | The candidate pair. |
| - (NSString*) localCandidateId |
Gets the local candidate identifier.
| - (bool) nominated |
Gets whether the candidate pair is nominated.
| - (long long) priority |
Gets the priority.
| - (NSString*) remoteCandidateId |
Gets the remote candidate identifier.
| - (long long) requestsReceived |
Gets the number of requests received.
| - (long long) requestsSent |
Gets the number of requests sent.
| - (long long) responsesReceived |
Gets the number of responses received.
| - (long long) responsesSent |
Gets the number of responses sent.
| - (FMLiveSwitchCandidatePairState) state |
Gets the state.
| - (NSString*) toJson |
Serializes this to JSON.
| + (NSString*) toJsonArrayWithCandidatePairs: | (NSMutableArray *) | candidatePairs |
Serializes an array of candidate pair stats to JSON.
| candidatePairs | The candidate pairs' stats. |
| + (NSString*) toJsonWithCandidatePair: | (FMLiveSwitchCandidatePairStats *) | candidatePair |
Serializes candidate pair stats to JSON.
| candidatePair | The candidate pair's stats. |
| - (int) totalRoundTripTime |
Gets the total round trip time in milliseconds.
| - (NSString*) transportId |
Gets the transport identifier.