Class: GenericMediaMetadata

  • chrome.cast.media.GenericMediaMetadata provides a way to describe generic media content like movies or songs.

  • It includes properties for images, release date, release year (deprecated; use releaseDate), subtitle, and title of the media.

  • Developers can use this class to provide metadata when casting media to a Chromecast device.

Constructor

GenericMediaMetadata

new GenericMediaMetadata()

Properties

images

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

Content images. Examples would include cover art or a thumbnail of the currently playing media.

releaseDate

(string or undefined)

ISO 8601 date and/or time when the content was released, e.g. 2014-02-10.

releaseYear

(number or undefined)

Integer year when the content was released.

Deprecated
Use releaseDate instead.

subtitle

(string or undefined)

Content subtitle.

title

(string or undefined)

Content title.