Data channel stats. More...
Instance Methods | |
| (long long) | - bytesReceived |
| Gets the number of bytes received. More... | |
| (long long) | - bytesSent |
| Gets the number of bytes sent. More... | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (instancetype) | - init |
| Initializes a new instance of FMLiveSwitchDataChannelStats. More... | |
| (NSString *) | - label |
| Gets the label. More... | |
| (long long) | - messagesReceived |
| Gets the number of messages received. More... | |
| (long long) | - messagesSent |
| Gets the number of messages sent. More... | |
| (bool) | - ordered |
| Gets whether the channel is ordered. More... | |
| (NSString *) | - protocol |
| Gets the protocol. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (FMLiveSwitchDataChannelState) | - state |
| Gets the state. More... | |
| (NSString *) | - toJson |
| Serializes this to JSON. 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... | |
Class Methods | |
| (FMLiveSwitchDataChannelStats *) | + dataChannelStats |
| Initializes a new instance of FMLiveSwitchDataChannelStats. More... | |
| (NSMutableArray *) | + fromJsonArrayWithDataChannelsJson: |
| Derializes an array of data channel stats from JSON. More... | |
| (FMLiveSwitchDataChannelStats *) | + fromJsonWithDataChannelJson: |
| Derializes data channel stats from JSON. More... | |
| (NSString *) | + toJsonArrayWithDataChannels: |
| Serializes an array of data channel stats to JSON. More... | |
| (NSString *) | + toJsonWithDataChannel: |
| Serializes data channel stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Data channel stats.
| - (long long) bytesReceived |
Gets the number of bytes received.
| - (long long) bytesSent |
Gets the number of bytes sent.
| + (FMLiveSwitchDataChannelStats*) dataChannelStats |
Initializes a new instance of FMLiveSwitchDataChannelStats.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
| + (NSMutableArray*) fromJsonArrayWithDataChannelsJson: | (NSString *) | dataChannelsJson |
Derializes an array of data channel stats from JSON.
| dataChannelsJson | The data channels' stats JSON. |
| + (FMLiveSwitchDataChannelStats*) fromJsonWithDataChannelJson: | (NSString *) | dataChannelJson |
Derializes data channel stats from JSON.
| dataChannelJson | The data channel's stats JSON. |
| - (instancetype) init |
Initializes a new instance of FMLiveSwitchDataChannelStats.
Implements FMLiveSwitchBaseStats.
| - (NSString*) label |
Gets the label.
| - (long long) messagesReceived |
Gets the number of messages received.
| - (long long) messagesSent |
Gets the number of messages sent.
| - (bool) ordered |
Gets whether the channel is ordered.
| - (NSString*) protocol |
Gets the protocol.
| - (FMLiveSwitchDataChannelState) state |
Gets the state.
| - (NSString*) toJson |
Serializes this to JSON.
| + (NSString*) toJsonArrayWithDataChannels: | (NSMutableArray *) | dataChannels |
Serializes an array of data channel stats to JSON.
| dataChannels | The data channels' stats. |
| + (NSString*) toJsonWithDataChannel: | (FMLiveSwitchDataChannelStats *) | dataChannel |
Serializes data channel stats to JSON.
| dataChannel | The data channel's stats. |