Class: ContainerMetadata

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.