Constructor

ContainerMetadata

new ContainerMetadata(type)

Parameter

type

Optional

cast.framework.messages.ContainerType

Type of container object.

Value must not be null.

Properties

containerDuration

(number or undefined)

Container duration in seconds. For example an audibook playback time.

containerImages

(non-null Array of cast.framework.messages.Image or undefined)

Container images. For example a Live TV channel logo, audiobook cover, album cover art, etc.

containerType

non-null cast.framework.messages.ContainerType

The type of container object.

sections

(non-null Array of non-null cast.framework.messages.MediaMetadata or undefined)

Array of media metadata objects to describe the media content sections. Used when the media files contain multiple media contents. For example a live TV stream can have multiple TV Shows and movies for one media file. Or for audiobook, one file can have multiple chapters.

title

(string or undefined)

The title of the container, for example an audiobook title, a TV Channel name, etc.