FMIceLinkMediaStats Class Reference

Inherits from FMIceLinkBaseStats : NSObject
Declared in FMIceLinkMediaStats.h
FMIceLinkMediaStats.m

Overview

Media stats.

– 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

FMIceLinkMediaStats.h

+ fromJsonWithMediaJson:

Derializes media stats from JSON.
+ (FMIceLinkMediaStats *)fromJsonWithMediaJson:(NSString *)mediaJson

Parameters

mediaJson

The media’s stats JSON. @return

Discussion

Derializes media stats from JSON.

Declared In

FMIceLinkMediaStats.h

– getTrackWithTrackId:

Gets a [track](#//api/name/track) by its identifier.
- (FMIceLinkMediaTrackStats *)getTrackWithTrackId:(NSString *)trackId

Parameters

trackId

The track identifier. @return

Discussion

Gets a [track](#//api/name/track) by its identifier.

Declared In

FMIceLinkMediaStats.h

– serializePropertiesWithJsonObject:

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

Parameters

jsonObject

The JSON object.

Discussion

Serializes the properties.

Declared In

FMIceLinkMediaStats.h

– toJson

Serializes this to JSON.

@return

- (NSString *)toJson

Discussion

Serializes this to JSON.

@return

Declared In

FMIceLinkMediaStats.h

+ toJsonWithMedia:

Serializes media stats to JSON.
+ (NSString *)toJsonWithMedia:(FMIceLinkMediaStats *)media

Parameters

media

The media’s stats. @return

Discussion

Serializes media stats to JSON.

Declared In

FMIceLinkMediaStats.h

– track

Gets the first track's stats.
- (FMIceLinkMediaTrackStats *)track

Discussion

Gets the first track's stats.

Declared In

FMIceLinkMediaStats.h

– tracks

Gets the tracks' stats.
- (NSMutableArray *)tracks

Discussion

Gets the tracks' stats.

Declared In

FMIceLinkMediaStats.h