GCKMediaQueueData Class

  • The GCKMediaQueueData class stores information about a playing queue or media container, including details like queue type, ID, name, and repeat mode.

  • It provides properties for accessing container metadata, start index, start time, and the queue items themselves.

  • This class inherits from NSObject, NSCopying, and NSSecureCoding, offering functionalities related to object lifecycle and data management.

  • Developers can utilize GCKMediaQueueData to manage and interact with media queues on Google Cast devices.

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