GCKMediaTrack Class

GCKMediaTrack Class Reference

Overview

A class representing a media track.

Instances of this object are immutable.

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

Designated initializer. More...

Property Summary

NSInteger 
The track's unique numeric identifier. More...
NSString * 
The track's content identifier, which may be nil . More...
NSString * 
The track's content (MIME) type. More...
GCKMediaTrackType 
The track's type. More...
The text track's subtype; applies only to text tracks. More...
NSString * 
The track's name, which may be nil . More...
NSString * 
The track's RFC 1766 language code, which may be nil . More...
id 
The custom data, if any. More...

Method Detail

- (nullable instancetype) initWithIdentifier: (NSInteger)  identifier
contentIdentifier: (nullable NSString *)  contentIdentifier
contentType: (NSString *)  contentType
type: (GCKMediaTrackType)  type
textSubtype: ( GCKMediaTextTrackSubtype textSubtype
name: (nullable NSString *)  name
languageCode: (nullable NSString *)  languageCode
customData: (nullable id)  customData

Designated initializer.

Constructs a new GCKMediaTrack with the given property values. Can return a nil value.

Property Detail

- (NSInteger) identifier
read nonatomic assign

The track's unique numeric identifier.

- (NSString*) contentIdentifier
read nonatomic copy

The track's content identifier, which may be nil .

- (NSString*) contentType
read nonatomic copy

The track's content (MIME) type.

- (GCKMediaTrackType) type
read nonatomic assign

The track's type.

- ( GCKMediaTextTrackSubtype ) textSubtype
read nonatomic assign

The text track's subtype; applies only to text tracks.

- (NSString*) name
read nonatomic copy

The track's name, which may be nil .

- (NSString*) languageCode
read nonatomic copy

The track's RFC 1766 language code, which may be nil .

- (id) customData
read nonatomic strong

The custom data, if any.

Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .

Create a Mobile Website
View Site in Mobile | Classic
Share by: