GCKMediaQueueDataBuilder Class
Stay organized with collections
Save and categorize content based on your preferences.
A builder object for constructing new or derived GCKMediaQueueData
instances.
The builder may be used to derive GCKMediaQueueData
from an existing one.
- Since
- 4.4.1
Inherits NSObject.
Constructs a new GCKMediaQueueData
with the given required attributes, and all other attributes initialized to default values.
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 |
|
readwritenonatomicassign |
The index of the item to start playing with.
Only for load request.
- (NSTimeInterval) startTime |
|
readwritenonatomicassign |
The playback start time, in seconds.
Only for load request. If not set, the receiver will set the start time depending on the stream type. For non-live streams: loaded from 0. For live streams: loaded from the most recent position.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKMediaQueueDataBuilder` constructs and modifies `GCKMediaQueueData` instances, which represent media queues or containers on Google Cast."],["You can initialize it with a queue type or an existing `GCKMediaQueueData` object for derivation."],["It provides properties to customize various aspects of the queue, including queue type, ID, name, repeat mode, start index, start time, and items."],["The `build` method creates a `GCKMediaQueueData` instance based on the builder's current configuration."]]],[]]