Inherits from NSObject
Declared in MSFKMediaInformation.h
MSFKMediaInformation.m

Overview

A class that aggregates information about a media item.

Properties

contentType

The content (MIME) type.

@property (nonatomic, copy) NSString *contentType

Discussion

The content (MIME) type.

Declared In

MSFKMediaInformation.h

customData

The custom data, if any.

@property (nonatomic, strong) id customData

Discussion

The custom data, if any.

Declared In

MSFKMediaInformation.h

metadata

The media item metadata.

@property (nonatomic, strong) MSFKMediaMetadata *metadata

Discussion

The media item metadata.

Declared In

MSFKMediaInformation.h

streamDuration

The length of time for the stream, in seconds.

@property (nonatomic) NSTimeInterval streamDuration

Discussion

The length of time for the stream, in seconds.

Declared In

MSFKMediaInformation.h

streamType

The stream type.

@property (nonatomic) MSFKMediaStreamType streamType

Discussion

The stream type.

Declared In

MSFKMediaInformation.h

Instance Methods

JSONObject

Create a JSON object which can serialized with NSJSONSerialization to pass to the receiver.

- (id)JSONObject

Discussion

Create a JSON object which can serialized with NSJSONSerialization to pass to the receiver.

Declared In

MSFKMediaInformation.h

initWithContentID:streamType:contentType:metadata:streamDuration:customData:

Designated initializer.

- (id)initWithContentID:(NSString *)contentID streamType:(MSFKMediaStreamType)streamType contentType:(NSString *)contentType metadata:(MSFKMediaMetadata *)metadata streamDuration:(NSTimeInterval)streamDuration customData:(id)customData

Parameters

contentID

The content ID.

streamType

The stream type.

contentType

The content (MIME) type.

metadata

The media item metadata.

streamDuration

The stream duration.

customData

The custom application-specific data.

Discussion

Designated initializer.

Declared In

MSFKMediaInformation.h

initWithJSONObject:

@cond INTERNAL

- (id)initWithJSONObject:(id)JSONObject

Discussion

@cond INTERNAL

Declared In

MSFKMediaInformation.h