FMIceLinkDataStreamStats Class Reference

Inherits from FMIceLinkStreamStats : FMIceLinkBaseStats : NSObject
Declared in FMIceLinkDataStreamStats.h
FMIceLinkDataStreamStats.m

Overview

Data stream stats.

– dataChannel

Gets the first data channel's stats.
- (FMIceLinkDataChannelStats *)dataChannel

Discussion

Gets the first data channel's stats.

Declared In

FMIceLinkDataStreamStats.h

– dataChannels

Gets the data channels' stats.
- (NSMutableArray *)dataChannels

Discussion

Gets the data channels' stats.

Declared In

FMIceLinkDataStreamStats.h

– deserializePropertiesWithKey:valueJson:

Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJson

Parameters

key

The key.

valueJson

The value in JSON format.

Discussion

Deserializes the properties.

Declared In

FMIceLinkDataStreamStats.h

+ fromJsonWithDataStreamJson:

Derializes data stream stats from JSON.
+ (FMIceLinkDataStreamStats *)fromJsonWithDataStreamJson:(NSString *)dataStreamJson

Parameters

dataStreamJson

The data stream’s stats JSON. @return

Discussion

Derializes data stream stats from JSON.

Declared In

FMIceLinkDataStreamStats.h

– getDataChannelWithDataChannelId:

Gets a data channel by its identifier.
- (FMIceLinkDataChannelStats *)getDataChannelWithDataChannelId:(NSString *)dataChannelId

Parameters

dataChannelId

The data channel identifier. @return

Discussion

Gets a data channel by its identifier.

Declared In

FMIceLinkDataStreamStats.h

– serializePropertiesWithJsonObject:

Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary *)jsonObject

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkDataStreamStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkDataStreamStats.h

+ toJsonWithDataStream:

Serializes data stream stats to JSON.
+ (NSString *)toJsonWithDataStream:(FMIceLinkDataStreamStats *)dataStream

Parameters

dataStream

The data stream’s stats. @return

Discussion

Serializes data stream stats to JSON.

Declared In

FMIceLinkDataStreamStats.h