AI-generated Key Takeaways
-
GCKMediaTrack is an immutable class representing a media track.
-
It inherits from NSObject, NSCopying, and NSSecureCoding.
-
It has properties for identifier, content identifier, content type, type, text subtype, name, language code, and custom data.
-
The class provides a designated initializer to construct a GCKMediaTrack object with specific property values.
Overview
A class representing a media track.
Instances of this object are immutable.
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
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
The track's unique numeric identifier.
The track's content identifier, which may be nil
.
The track's content (MIME) type.
The track's type.
The text track's subtype; applies only to text tracks.
The track's name, which may be nil
.
The track's RFC 1766 language code, which may be nil
.
The custom data, if any.
Must either be an object that can be serialized to JSON using NSJSONSerialization
, or nil
.

