Public Member Functions | |
| CandidatePairStats () | |
| Initializes a new instance of the fm.liveswitch.CandidatePairStats class. More... | |
| long | getAvailableOutoingBitrate () |
| Gets the available outgoing bitrate for the candidate pair if it's the active pair. More... | |
| long | getBytesReceived () |
| Gets the number of bytes received. More... | |
| long | getBytesSent () |
| Gets the number of bytes sent. More... | |
| long | getConsentRequestsReceived () |
| Gets the number of consent requests received. More... | |
| long | getConsentRequestsSent () |
| Gets the number of consent requests sent. More... | |
| long | getConsentResponsesReceived () |
| Gets the number of consent responses received. More... | |
| long | getConsentResponsesSent () |
| Gets the number of consent responses sent. More... | |
| int | getCurrentRoundTripTime () |
| Gets the current round trip time in milliseconds. More... | |
| String | getLocalCandidateId () |
| Gets the local candidate identifier. More... | |
| boolean | getNominated () |
| Gets whether the candidate pair is nominated. More... | |
| long | getPriority () |
| Gets the priority. More... | |
| String | getRemoteCandidateId () |
| Gets the remote candidate identifier. More... | |
| long | getRequestsReceived () |
| Gets the number of requests received. More... | |
| long | getRequestsSent () |
| Gets the number of requests sent. More... | |
| long | getResponsesReceived () |
| Gets the number of responses received. More... | |
| long | getResponsesSent () |
| Gets the number of responses sent. More... | |
| fm.liveswitch.CandidatePairState | getState () |
| Gets the state. More... | |
| int | getTotalRoundTripTime () |
| Gets the total round trip time in milliseconds. More... | |
| String | getTransportId () |
| Gets the transport identifier. More... | |
| boolean | isEquivalent (fm.liveswitch.CandidatePairStats instance) |
| Checks if a candidate pair is equivalent to this one. More... | |
| String | toJson () |
| Serializes this to JSON. More... | |
Public Member Functions inherited from fm.liveswitch.BaseStats | |
| String | getId () |
| Gets the identifier of the object generating these stats. More... | |
| java.util.Date | getTimestamp () |
| Gets the timestamp when these stats were generated. More... | |
Public Member Functions inherited from fm.liveswitch.IEquivalent< fm.liveswitch.CandidatePairStats > | |
| abstract boolean | isEquivalent (T instance) |
| Checks if an instance is equivalent to this one. More... | |
Static Public Member Functions | |
| static fm.liveswitch.CandidatePairStats | fromJson (String candidatePairJson) |
| Derializes candidate pair stats from JSON. More... | |
| static fm.liveswitch.CandidatePairStats[] | fromJsonArray (String candidatePairsJson) |
| Derializes an array of candidate pair stats from JSON. More... | |
| static String | toJson (fm.liveswitch.CandidatePairStats candidatePair) |
| Serializes candidate pair stats to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.CandidatePairStats[] candidatePairs) |
| Serializes an array of candidate pair stats to JSON. More... | |
Protected Member Functions | |
| void | deserializeProperties (String key, String valueJson) |
| Deserializes the properties. More... | |
| void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
| Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.BaseStats | |
| BaseStats () | |
Candidate pair stats.
| fm.liveswitch.CandidatePairStats.CandidatePairStats | ( | ) |
Initializes a new instance of the fm.liveswitch.CandidatePairStats class.
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.BaseStats.
|
static |
Derializes candidate pair stats from JSON.
| candidatePairJson | The candidate pair's stats JSON. |
|
static |
Derializes an array of candidate pair stats from JSON.
| candidatePairsJson | The candidate pairs' stats JSON. |
| long fm.liveswitch.CandidatePairStats.getAvailableOutoingBitrate | ( | ) |
Gets the available outgoing bitrate for the candidate pair if it's the active pair.
| long fm.liveswitch.CandidatePairStats.getBytesReceived | ( | ) |
Gets the number of bytes received.
| long fm.liveswitch.CandidatePairStats.getBytesSent | ( | ) |
Gets the number of bytes sent.
| long fm.liveswitch.CandidatePairStats.getConsentRequestsReceived | ( | ) |
Gets the number of consent requests received.
| long fm.liveswitch.CandidatePairStats.getConsentRequestsSent | ( | ) |
Gets the number of consent requests sent.
| long fm.liveswitch.CandidatePairStats.getConsentResponsesReceived | ( | ) |
Gets the number of consent responses received.
| long fm.liveswitch.CandidatePairStats.getConsentResponsesSent | ( | ) |
Gets the number of consent responses sent.
| int fm.liveswitch.CandidatePairStats.getCurrentRoundTripTime | ( | ) |
Gets the current round trip time in milliseconds.
| String fm.liveswitch.CandidatePairStats.getLocalCandidateId | ( | ) |
Gets the local candidate identifier.
| boolean fm.liveswitch.CandidatePairStats.getNominated | ( | ) |
Gets whether the candidate pair is nominated.
| long fm.liveswitch.CandidatePairStats.getPriority | ( | ) |
Gets the priority.
| String fm.liveswitch.CandidatePairStats.getRemoteCandidateId | ( | ) |
Gets the remote candidate identifier.
| long fm.liveswitch.CandidatePairStats.getRequestsReceived | ( | ) |
Gets the number of requests received.
| long fm.liveswitch.CandidatePairStats.getRequestsSent | ( | ) |
Gets the number of requests sent.
| long fm.liveswitch.CandidatePairStats.getResponsesReceived | ( | ) |
Gets the number of responses received.
| long fm.liveswitch.CandidatePairStats.getResponsesSent | ( | ) |
Gets the number of responses sent.
| fm.liveswitch.CandidatePairState fm.liveswitch.CandidatePairStats.getState | ( | ) |
Gets the state.
| int fm.liveswitch.CandidatePairStats.getTotalRoundTripTime | ( | ) |
Gets the total round trip time in milliseconds.
| String fm.liveswitch.CandidatePairStats.getTransportId | ( | ) |
Gets the transport identifier.
| boolean fm.liveswitch.CandidatePairStats.isEquivalent | ( | fm.liveswitch.CandidatePairStats | instance | ) |
Checks if a candidate pair is equivalent to this one.
| instance | The candidate pair. |
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.BaseStats.
| String fm.liveswitch.CandidatePairStats.toJson | ( | ) |
Serializes this to JSON.
|
static |
Serializes candidate pair stats to JSON.
| candidatePair | The candidate pair's stats. |
|
static |
Serializes an array of candidate pair stats to JSON.
| candidatePairs | The candidate pairs' stats. |