GCKMediaQueueDataBuilder Class

GCKMediaQueueDataBuilder Class Reference

Overview

A builder object for constructing new or derived GCKMediaQueueData instances.

The builder may be used to derive GCKMediaQueueData from an existing one.

Since
4.4.1

Inherits NSObject.

Instance Method Summary

(instancetype) 
Constructs a new GCKMediaQueueData with the given required attributes, and all other attributes initialized to default values. More...
(instancetype) 
Constructs a new GCKMediaQueueData with the given GCKMediaQueueData instance. More...
(instancetype) 
- init
Builds a GCKMediaQueueData using the builder's current attributes. More...

Property Summary

The queue type. More...
NSString * 
The queue id. More...
NSString * 
The display name for queue. More...
NSString * 
The deep link for the media as used by Google Assistant, if any. More...
The repeat mode of queue. More...
The container metadata. More...
NSUInteger 
The index of the item to start playing with. More...
NSTimeInterval 
The playback start time, in seconds. More...
NSArray< GCKMediaQueueItem * > * 
The queueItems. More...

Method Detail

- (instancetype) initWithQueueType: ( GCKMediaQueueType queueType

Constructs a new GCKMediaQueueData with the given required attributes, and all other attributes initialized to default values.

- (instancetype) initWithQueueData: ( GCKMediaQueueData *)  queueData

Constructs a new GCKMediaQueueData with the given GCKMediaQueueData instance.

- ( GCKMediaQueueData *) build

Builds a GCKMediaQueueData using the builder's current attributes.

Returns
The new GCKMediaQueueData instance.

Property Detail

- ( GCKMediaQueueType ) queueType
read write nonatomic assign

The queue type.

- (NSString*) queueID
read write nonatomic copy

The queue id.

- (NSString*) name
read write nonatomic copy

The display name for queue.

- (NSString*) entity
read write nonatomic copy

The deep link for the media as used by Google Assistant, if any.

- ( GCKMediaRepeatMode ) repeatMode
read write nonatomic assign

The repeat mode of queue.

- ( GCKMediaQueueContainerMetadata *) containerMetadata
read write nonatomic copy

The container metadata.

- (NSUInteger) startIndex
read write nonatomic assign

The index of the item to start playing with.

Only for load request.

- (NSTimeInterval) startTime
read write nonatomic assign

The playback start time, in seconds.

Only for load request. If not set, the receiver will set the start time depending on the stream type. For non-live streams: loaded from 0. For live streams: loaded from the most recent position.

- (NSArray< GCKMediaQueueItem *>*) items
read write nonatomic copy

The queueItems.

Only for load requests.

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