GCKMediaQueueItemBuilder Class
Stay organized with collections
Save and categorize content based on your preferences.
A builder object for constructing new or derived GCKMediaQueueItem instances.
The builder may be used to derive a GCKMediaQueueItem from an existing one:
It can also be used to construct a new GCKMediaQueueItem from scratch:
Inherits NSObject.
The media information associated with this item.
Whether the item should automatically start playback when it becomes the current item in the queue.
If NO
, the queue will pause when it reaches this item. The default value is YES
.
- (NSTimeInterval) startTime |
|
readwritenonatomicassign |
The start time of the item, in seconds.
The default value is kGCKInvalidTimeInterval, indicating that a start time does not apply (for example, for a live stream) or that the default start time should be used.
- (NSTimeInterval) playbackDuration |
|
readwritenonatomicassign |
The playback duration for the item, in seconds, or INFINITY
if the stream's actual duration should be used.
- (NSTimeInterval) preloadTime |
|
readwritenonatomicassign |
How long before the previous item ends, in seconds, before the receiver should start preloading this item.
The default value is kGCKInvalidTimeInterval, indicating no preload time.
- (NSArray<NSNumber *>*) activeTrackIDs |
|
readwritenonatomiccopy |
The active track IDs for this item.
The custom data associated with this item, if any.
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 2020-08-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2020-08-05 UTC.",
"state": ""
}