GCKMediaQueueLoadOptions Class Reference

Options for loading media queue items with GCKRemoteMediaClient. More...

#import <GCKMediaQueueLoadOptions.h>

+ Inheritance diagram for GCKMediaQueueLoadOptions:

Instance Methods

(instancetype) - init
 Designated initializer. More...
 

Properties

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...
 

Detailed Description

Options for loading media queue items with GCKRemoteMediaClient.

Since
4.3

Method Documentation

- (instancetype) init

Designated initializer.

Initializes a GCKMediaLoadOptions with default values for all properties.

Property Documentation

- (id) customData
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.

- (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.

- (GCKMediaRepeatMode) repeatMode
readwritenonatomicassign

The repeat mode for playing the queue.

- (NSUInteger) startIndex
readwritenonatomicassign

The index of the item in the queue items array that should be played first.


The documentation for this class was generated from the following file: