GCKMediaQueueContainerMetadata Class

  • GCKMediaQueueContainerMetadata provides additional metadata for media queue containers, such as audiobooks, live TV channels, albums, and playlists.

  • It includes properties like containerType, title, sections, containerDuration, containerImages, authors, narrators, publisher, and releaseDate.

  • Developers can use this class to access and manage detailed information about the media container being played.

  • The metadata includes information like the container's title, images, duration, authors, and other relevant details depending on the container type.

GCKMediaQueueContainerMetadata Class Reference

Overview

Additional metadata for the media queue container.

Since
4.4.1

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

Instance Method Summary

(instancetype) - init
 

Property Summary

GCKMediaQueueContainerType containerType
 The type of metadata. More...
 
NSString * title
 The container title. More...
 
NSArray< GCKMediaMetadata * > * sections
 The metadata of each sections that a media stream contains. More...
 
NSTimeInterval containerDuration
 The total playback time for the container. More...
 
NSArray< GCKImage * > * containerImages
 Images associated with the queue. More...
 
NSArray< NSString * > * authors
 The author names. More...
 
NSArray< NSString * > * narrators
 The audiobook narrator names. More...
 
NSString * publisher
 The book publisher. More...
 
NSString * releaseDate
 The book release date in ISO-8601 format. More...
 

Property Detail

- (GCKMediaQueueContainerType) containerType
readnonatomicassign

The type of metadata.

- (NSString*) title
readnonatomiccopy

The container title.

It can be audiobook title, Live TV Channel name, album name or playlist name, etc.

- (NSArray<GCKMediaMetadata *>*) sections
readnonatomiccopy

The metadata of each sections that a media stream contains.

- (NSTimeInterval) containerDuration
readnonatomicassign

The total playback time for the container.

- (NSArray<GCKImage *>*) containerImages
readnonatomiccopy

Images associated with the queue.

By default the first image is used when displaying queue information. Used for audio book image, a TV Channel logo, album cover, etc.

- (NSArray<NSString *>*) authors
readnonatomiccopy

The author names.

Used for audio book.

- (NSArray<NSString *>*) narrators
readnonatomiccopy

The audiobook narrator names.

Used for audio book.

- (NSString*) publisher
readnonatomiccopy

The book publisher.

Used for audio book.

- (NSString*) releaseDate
readnonatomiccopy

The book release date in ISO-8601 format.

Used for audio book.

Since
4.4.1