GCKMediaQueueData Class
Stay organized with collections
Save and categorize content based on your preferences.
A class that holds the information of the playing queue or media container.
- Since
- 4.4.1
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
The display name for queue.
The deep link for the media as used by Google Assistant, if any.
The repeat mode of queue.
- (NSUInteger) startIndex |
|
readnonatomicassign |
The index of the item to start playing with.
Only for load request.
- (NSTimeInterval) startTime |
|
readnonatomicassign |
The playback start time, in seconds.
Only for load request.
The queueItems.
Only for load requests.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e class stores information about a playing queue or media container, including details like queue type, ID, name, and repeat mode.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties for accessing container metadata, start index, start time, and the queue items themselves.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e, offering functionalities related to object lifecycle and data management.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e to manage and interact with media queues on Google Cast devices.\u003c/p\u003e\n"]]],["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"],null,[]]