GCKMediaQueueLoadOptions Class
Stay organized with collections
Save and categorize content based on your preferences.
Options for loading media queue items with GCKRemoteMediaClient.
- Since
- 4.3
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
|
NSUInteger | startIndex |
| The index of the item in the queue items array that should be played first. More...
|
|
NSTimeInterval | playPosition |
| The initial playback position for the first item in the queue items array when it is first played, relative to the beginning of the stream. More...
|
|
GCKMediaRepeatMode | repeatMode |
| The repeat mode for playing the queue. More...
|
|
id | customData |
| Custom application-specific data to pass along with the request. More...
|
|
Designated initializer.
Initializes a GCKMediaLoadOptions with default values for all properties.
- (NSUInteger) startIndex |
|
readwritenonatomicassign |
The index of the item in the queue items array that should be played first.
- (NSTimeInterval) playPosition |
|
readwritenonatomicassign |
The initial playback position for the first item in the queue items array when it is first played, relative to the beginning of the stream.
This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used.
The repeat mode for playing the queue.
Custom application-specific data to pass along with the request.
Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
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."],[[["`GCKMediaQueueLoadOptions` provides options for loading media queue items using `GCKRemoteMediaClient`."],["It allows you to specify the starting index, initial playback position, and repeat mode for the media queue."],["You can also include custom application-specific data with the request."],["The class inherits from `NSObject`, `NSCopying`, and `NSSecureCoding`."],["An initialized `GCKMediaQueueLoadOptions` object contains default values for all its properties."]]],[]]