AI-generated Key Takeaways
-
ContainerMetadata is used as part of QueueData and holds common container metadata.
-
The ContainerMetadata constructor takes an optional type parameter which must not be null.
-
Key properties of ContainerMetadata include containerDuration, containerImages, containerType, sections, and title.
chrome.cast.media. ContainerMetadata
Common container metadata used as part of QueueData.
Constructor
ContainerMetadata
new ContainerMetadata(type)
Parameter |
|
---|---|
type |
Optional chrome.cast.media.ContainerType Type of container object. Value must not be null. |
Properties
containerDuration
(number or undefined)
Container duration in seconds. For example an audiobook playback time.
containerImages
(non-null Array of non-null chrome.cast.Image or undefined)
Container images. For example a live TV channel logo, audiobook cover, album cover art, etc.
containerType
non-null chrome.cast.media.ContainerType
The type of container object.
sections
(non-null Array of non-null chrome.cast.media.MediaMetadata or undefined)
Array of media metadata objects to describe the media content sections. Used to delineate live TV streams into programs and audiobooks into chapters.
title
(string or undefined)
The title of the container, for example an audiobook title, a TV channel name, etc.