GCKMediaTrack-Klasse

GCKMediaTrack-Klassenreferenz

Übersicht

Eine Klasse, die einen Mediatrack darstellt.

Instanzen dieses Objekts sind unveränderlich.

Erbt NSObject, <NSCopying> und <NSCoding>.

Zusammenfassung der Instanzmethoden

(instancetype) - initWithIdentifier:contentIdentifier:contentType:type:textSubtype:name:languageCode:customData:
 Designated Initializer Weitere Informationen
 

Zusammenfassung der Property

NSInteger identifier
 Die eindeutige numerische ID des Tracks. Weitere Informationen
 
NSString * contentIdentifier
 Die Inhalts-ID des Tracks, die nil sein kann. Weitere Informationen
 
NSString * contentType
 Der Inhaltstyp (MIME-Typ) des Tracks. Weitere Informationen
 
GCKMediaTrackType type
 Der Typ des Tracks. Weitere Informationen
 
GCKMediaTextTrackSubtype textSubtype
 Der Untertyp des Text-Tracks. Gilt nur für Text-Tracks. Weitere Informationen
 
NSString * name
 Der Name des Tracks, der möglicherweise nil ist. Weitere Informationen
 
NSString * languageCode
 Der RFC 1766-Sprachcode des Tracks, der auch nil sein kann. Weitere Informationen
 
id customData
 Die benutzerdefinierten Daten, falls vorhanden. Weitere Informationen
 

Methodendetail

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

Designated Initializer

Erstellt ein neues GCKMediaTrack-Objekt mit den angegebenen Property-Werten.

Property-Details

- (NSInteger) identifier
readnonatomicassign

Die eindeutige numerische ID des Tracks.

- (NSString*) contentIdentifier
readnonatomiccopy

Die Inhalts-ID des Tracks, die nil sein kann.

- (NSString*) contentType
readnonatomiccopy

Der Inhaltstyp (MIME-Typ) des Tracks.

- (GCKMediaTrackType) type
readnonatomicassign

Der Typ des Tracks.

- (GCKMediaTextTrackSubtype) textSubtype
readnonatomicassign

Der Untertyp des Text-Tracks. Gilt nur für Text-Tracks.

- (NSString*) name
readnonatomiccopy

Der Name des Tracks, der möglicherweise nil ist.

- (NSString*) languageCode
readnonatomiccopy

Der RFC 1766-Sprachcode des Tracks, der auch nil sein kann.

- (id) customData
readnonatomicstrong

Die benutzerdefinierten Daten, falls vorhanden.

Muss entweder ein Objekt sein, das mit NSJSONSerialization in JSON serialisiert werden kann, oder nil.