Class: PhotoMediaMetadata

  • PhotoMediaMetadata provides a structured way to describe photo content, including details like title, artist, location, and dimensions.

  • It includes properties for associated images, creation date, content rating, and geographic coordinates where the photo was taken.

  • Developers can use this class to create rich metadata for photos displayed on Cast devices.

Constructor

PhotoMediaMetadata

new PhotoMediaMetadata()

Properties

artist

(string or undefined)

The name of the photographer.

contentRating

The content rating.

creationDateTime

(string or undefined)

The ISO 8601 date and time the photo was taken, for example, 2014-02-10T15:47:00Z.

height

(number or undefined)

The height of the photo, in pixels.

images

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

Images associated with the content, such as a photo thumbnail.

latitude

(number or undefined)

The latitude of the location where the photo was taken.

location

(string or undefined)

The location where the photo was taken, for example, Seattle, Washington, USA.

longitude

(number or undefined)

The longitude of the location where the photo was taken.

title

(string or undefined)

The photo title.

width

(number or undefined)

The width of the photo, in pixels.