GCKMediaQueueContainerMetadataBuilder Class
Stay organized with collections
Save and categorize content based on your preferences.
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.
The container title.
It can be audiobook title, Live TV Channel name, album name or playlist name, etc.
The metadata of each sections that a media stream contains.
- (NSTimeInterval) containerDuration |
|
readwritenonatomicassign |
The total playback time for the container.
- (NSArray<GCKImage *>*) containerImages |
|
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.
- (NSArray<NSString *>*) authors |
|
readwritenonatomiccopy |
The author names.
Used for audio book.
- (NSArray<NSString *>*) narrators |
|
readwritenonatomiccopy |
The audiobook narrator names.
Used for audio book.
The book publisher.
Used for audio book.
- (NSString*) releaseDate |
|
readwritenonatomiccopy |
The book release date in ISO-8601 format.
Used for audio book.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eGCKMediaQueueContainerMetadataBuilder\u003c/code\u003e helps create or modify metadata for media queue containers, like audiobooks, TV channels, or playlists.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set container type, title, sections, duration, images, authors, narrators, publisher, and release date.\u003c/p\u003e\n"],["\u003cp\u003eYou can initialize it with a container type or an existing \u003ccode\u003eGCKMediaQueueContainerMetadata\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild\u003c/code\u003e method generates a \u003ccode\u003eGCKMediaQueueContainerMetadata\u003c/code\u003e object based on the builder's properties.\u003c/p\u003e\n"]]],["This document describes the `GCKMediaQueueContainerMetadataBuilder` class, used to create `GCKMediaQueueContainerMetadata` instances. Key actions include: constructing a new instance with specified attributes, or from an existing one. You can also build a `GCKMediaQueueContainerMetadata` using the builder's current attributes. Properties that define metadata include: `containerType`, `title`, `sections` (metadata per section), `containerDuration`, `containerImages`, `authors`, `narrators`, `publisher`, and `releaseDate`.\n"],null,[]]