AI-generated Key Takeaways
-
GCKMediaQueueLoadOptions provides options for loading media queue items using GCKRemoteMediaClient.
-
The options include specifying the starting index and initial playback position for the first item, the repeat mode for the queue, and custom data to pass with the request.
-
A designated initializer is available to create an instance with default property values.
Overview
Options for loading media queue items with GCKRemoteMediaClient.
- Since
- 4.3
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
Instance Method Summary | |
| (instancetype) | - init |
| Designated initializer. More... | |
Property Summary | |
| 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... | |
Method Detail
| - (instancetype) init |
Designated initializer.
Initializes a GCKMediaLoadOptions with default values for all properties.
Property Detail
|
readwritenonatomicassign |
The index of the item in the queue items array that should be played first.
|
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.
|
readwritenonatomicassign |
The repeat mode for playing the queue.
|
readwritenonatomicstrong |
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.