GCKMediaQueueData Class

  • GCKMediaQueueData is a class holding information for playing queues or media containers.

  • It includes properties such as queue type, ID, name, entity, repeat mode, container metadata, start index, start time, and a list of items.

  • The class inherits from NSObject, NSCopying, and NSSecureCoding, and was introduced in version 4.4.1.

  • It has one instance method, init.

GCKMediaQueueData Class Reference

Overview

A class that holds the information of the playing queue or media container.

Since
4.4.1

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(instancetype) - init
 

Property Summary

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

Property Detail

- (GCKMediaQueueType) queueType
readnonatomicassign

The queue type.

- (NSString*) queueID
readnonatomiccopy

The queue id.

- (NSString*) name
readnonatomiccopy

The display name for queue.

- (NSString*) entity
readnonatomiccopy

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

- (GCKMediaRepeatMode) repeatMode
readnonatomicassign

The repeat mode of queue.

- (GCKMediaQueueContainerMetadata*) containerMetadata
readnonatomiccopy

The container metadata.

- (NSUInteger) startIndex
readnonatomicassign

The index of the item to start playing with.

Only for load request.

- (NSTimeInterval) startTime
readnonatomicassign

The playback start time, in seconds.

Only for load request.

- (NSArray<GCKMediaQueueItem *>*) items
readnonatomiccopy

The queueItems.

Only for load requests.