GCKMediaQueueLoadOptions Class

GCKMediaQueueLoadOptions Class Reference

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 
The index of the item in the queue items array that should be played first. More...
NSTimeInterval 
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...
The repeat mode for playing the queue. More...
id 
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

- (NSUInteger) startIndex
read write nonatomic assign

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

- (NSTimeInterval) playPosition
read write nonatomic assign

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
read write nonatomic assign

The repeat mode for playing the queue.

- (id) customData
read write nonatomic strong

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 .

Create a Mobile Website
View Site in Mobile | Classic
Share by: