GCKMediaTrack Class Reference

A class representing a media track. More...

#import <GCKMediaTrack.h>

+ Inheritance diagram for GCKMediaTrack:

Instance Methods

(instancetype) - initWithIdentifier:contentIdentifier:contentType:type:textSubtype:name:languageCode:customData:
 Designated initializer. More...
 

Properties

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

Detailed Description

A class representing a media track.

Instances of this object are immutable.

Method Documentation

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

Designated initializer.

Constructs a new GCKMediaTrack with the given property values.

Property Documentation

- (NSString*) contentIdentifier
readnonatomiccopy

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

- (NSString*) contentType
readnonatomiccopy

The track's content (MIME) type.

- (id) customData
readnonatomicstrong

The custom data, if any.

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

- (NSInteger) identifier
readnonatomicassign

The track's unique numeric identifier.

- (NSString*) languageCode
readnonatomiccopy

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

- (NSString*) name
readnonatomiccopy

The track's name, which may be nil.

- (GCKMediaTextTrackSubtype) textSubtype
readnonatomicassign

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

- (GCKMediaTrackType) type
readnonatomicassign

The track's type.


The documentation for this class was generated from the following file: