GCKMediaQueueLoadOptions.h
1 // Copyright 2017 Google Inc.
2 
3 #import <GoogleCast/GCKDefines.h>
4 #import <GoogleCast/GCKMediaCommon.h>
5 
6 #import <Foundation/Foundation.h>
7 
8 GCK_ASSUME_NONNULL_BEGIN
9 
15 GCK_EXPORT
16 @interface GCKMediaQueueLoadOptions : NSObject <NSCopying, NSSecureCoding>
17 
21 - (instancetype)init;
22 
26 @property(nonatomic, assign, readwrite) NSUInteger startIndex;
27 
34 @property(nonatomic, assign, readwrite) NSTimeInterval playPosition;
35 
39 @property(nonatomic, assign, readwrite) GCKMediaRepeatMode repeatMode;
40 
46 @property(nonatomic, strong, readwrite, GCK_NULLABLE) id customData;
47 
48 @end
49 
50 GCK_ASSUME_NONNULL_END
NSTimeInterval playPosition
The initial playback position for the first item in the queue items array when it is first played...
Definition: GCKMediaQueueLoadOptions.h:34
id customData
Custom application-specific data to pass along with the request.
Definition: GCKMediaQueueLoadOptions.h:46
Options for loading media queue items with GCKRemoteMediaClient.
Definition: GCKMediaQueueLoadOptions.h:16
NSUInteger startIndex
The index of the item in the queue items array that should be played first.
Definition: GCKMediaQueueLoadOptions.h:26
GCKMediaRepeatMode repeatMode
The repeat mode for playing the queue.
Definition: GCKMediaQueueLoadOptions.h:39
instancetype init()
Designated initializer.