Overview
A builder object for constructing new or derived GCKMediaQueueContainerMetadata
instances.
The builder may be used to derive GCKMediaQueueContainerMetadata
from an existing one.
- Since
- 4.4.1
Inherits NSObject.
Instance Method Summary | |
(instancetype) | - initWithContainerType: |
Constructs a new GCKMediaQueueContainerMetadata with the given required attributes, and all other attributes initialized to default values. More... | |
(instancetype) | - initWithContainerMetadata: |
Constructs a new GCKMediaQueueContainerMetadata with the given GCKMediaQueueContainerMetadata instance. More... | |
(instancetype) | - init |
(GCKMediaQueueContainerMetadata *) | - build |
Builds a GCKMediaQueueContainerMetadata using the builder's current attributes. More... | |
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... | |
Method Detail
- (instancetype) initWithContainerType: | (GCKMediaQueueContainerType) | containerType |
Constructs a new GCKMediaQueueContainerMetadata
with the given required attributes, and all other attributes initialized to default values.
- (instancetype) initWithContainerMetadata: | (GCKMediaQueueContainerMetadata *) | containerMetadata |
Constructs a new GCKMediaQueueContainerMetadata
with the given GCKMediaQueueContainerMetadata
instance.
- (GCKMediaQueueContainerMetadata *) build |
Builds a GCKMediaQueueContainerMetadata
using the builder's current attributes.
- Returns
- The new
GCKMediaQueueContainerMetadata
instance.
Property Detail
|
readwritenonatomicassign |
The type of metadata.
|
readwritenonatomiccopy |
The container title.
It can be audiobook title, Live TV Channel name, album name or playlist name, etc.
|
readwritenonatomiccopy |
The metadata of each sections that a media stream contains.
|
readwritenonatomicassign |
The total playback time for the container.
|
readwritenonatomiccopy |
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.
|
readwritenonatomiccopy |
The author names.
Used for audio book.
|
readwritenonatomiccopy |
The audiobook narrator names.
Used for audio book.
|
readwritenonatomiccopy |
The book publisher.
Used for audio book.
|
readwritenonatomiccopy |
The book release date in ISO-8601 format.
Used for audio book.