FMIceLinkDataChannelStats Class Reference
| Inherits from | FMIceLinkBaseStats : NSObject |
|---|---|
| Declared in | FMIceLinkDataChannelStats.h FMIceLinkDataChannelStats.m |
– bytesReceived
Gets the number of bytes received.
- (long long)bytesReceivedDiscussion
Gets the number of bytes received.
Declared In
FMIceLinkDataChannelStats.h
– bytesSent
Gets the number of bytes sent.
- (long long)bytesSentDiscussion
Gets the number of bytes sent.
Declared In
FMIceLinkDataChannelStats.h
– deserializePropertiesWithKey:valueJson:
Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJsonParameters
key |
The key. |
|---|---|
valueJson |
The value in JSON format. |
Discussion
Deserializes the properties.
Declared In
FMIceLinkDataChannelStats.h
+ fromJsonArrayWithDataChannelsJson:
Derializes an array of data channel stats from JSON.
+ (NSMutableArray *)fromJsonArrayWithDataChannelsJson:(NSString *)dataChannelsJsonParameters
dataChannelsJson |
The data channels' stats JSON. @return |
|---|
Discussion
Derializes an array of data channel stats from JSON.
Declared In
FMIceLinkDataChannelStats.h
+ fromJsonWithDataChannelJson:
Derializes data channel stats from JSON.
+ (FMIceLinkDataChannelStats *)fromJsonWithDataChannelJson:(NSString *)dataChannelJsonParameters
dataChannelJson |
The data channel’s stats JSON. @return |
|---|
Discussion
Derializes data channel stats from JSON.
Declared In
FMIceLinkDataChannelStats.h
– label
Gets the label.
- (NSString *)labelDiscussion
Gets the label.
Declared In
FMIceLinkDataChannelStats.h
– messagesReceived
Gets the number of messages received.
- (long long)messagesReceivedDiscussion
Gets the number of messages received.
Declared In
FMIceLinkDataChannelStats.h
– messagesSent
Gets the number of messages sent.
- (long long)messagesSentDiscussion
Gets the number of messages sent.
Declared In
FMIceLinkDataChannelStats.h
– ordered
Gets whether the channel is ordered.
- (bool)orderedDiscussion
Gets whether the channel is ordered.
Declared In
FMIceLinkDataChannelStats.h
– protocol
Gets the protocol.
- (NSString *)protocolDiscussion
Gets the protocol.
Declared In
FMIceLinkDataChannelStats.h
– serializePropertiesWithJsonObject:
Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary *)jsonObjectParameters
jsonObject |
The JSON object. |
|---|
Discussion
Serializes the properties.
Declared In
FMIceLinkDataChannelStats.h
– state
Gets the state.
- (FMIceLinkDataChannelState)stateDiscussion
Gets the state.
Declared In
FMIceLinkDataChannelStats.h
– toJson
Serializes this to JSON.
@return
- (NSString *)toJsonDiscussion
Serializes this to JSON.
@return
Declared In
FMIceLinkDataChannelStats.h
+ toJsonArrayWithDataChannels:
Serializes an array of data channel stats to JSON.
+ (NSString *)toJsonArrayWithDataChannels:(NSMutableArray *)dataChannelsParameters
dataChannels |
The data channels' stats. @return |
|---|
Discussion
Serializes an array of data channel stats to JSON.
Declared In
FMIceLinkDataChannelStats.h
+ toJsonWithDataChannel:
Serializes data channel stats to JSON.
+ (NSString *)toJsonWithDataChannel:(FMIceLinkDataChannelStats *)dataChannelParameters
dataChannel |
The data channel’s stats. @return |
|---|
Discussion
Serializes data channel stats to JSON.
Declared In
FMIceLinkDataChannelStats.h