Klasa GCKMediaQueueData
Klasa zawierająca informacje o kolejce odtwarzania lub kontenerze multimediów.
- Od
- 4.4.1
Dziedziczy NSObject, <NSCopying> i <NSSecureCoding>.
Wyświetlana nazwa kolejki.
Precyzyjny link do multimediów używanych przez Asystenta Google (jeśli taki istnieje).
Tryb powtarzania kolejki.
- (NSUInteger) startIndex |
|
readnonatomicassign |
Indeks elementu, od którego można rozpocząć grę.
Tylko w przypadku żądania wczytania.
- (NSTimeInterval) startTime |
|
readnonatomicassign |
Czas rozpoczęcia odtwarzania w sekundach.
Tylko w przypadku żądania wczytania.
ParametrQueueItems.
Tylko w przypadku żądań wczytania.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["The `GCKMediaQueueData` class stores information about a playing queue or media container, including details like queue type, ID, name, and repeat mode."],["It provides properties for accessing container metadata, start index, start time, and the queue items themselves."],["This class inherits from `NSObject`, `NSCopying`, and `NSSecureCoding`, offering functionalities related to object lifecycle and data management."],["Developers can utilize `GCKMediaQueueData` to manage and interact with media queues on Google Cast devices."]]],["The `GCKMediaQueueData` class manages media queue information, featuring properties like `queueType`, `queueID`, and `name`. It also handles `repeatMode`, `entity` links, and `containerMetadata`. It holds an array of `items` and sets playback control parameters using `startIndex` and `startTime`. It can only be used with load requests. The queue information is accessed via properties which have the following types: `NSString`, `GCKMediaRepeatMode`, `GCKMediaQueueType`, `GCKMediaQueueContainerMetadata`, `NSTimeInterval`, and `NSArray`.\n"]]