metadata property

MediaMetadata? get metadata

The metadata property of the MediaSession interface contains a MediaMetadata object providing descriptive information about the currently playing media, or null if the metadata has not been set. This metadata is provided by the browser to the device for presentation in any standard media control user interface the device might offer.

Implementation

external MediaMetadata? get metadata;
set metadata (MediaMetadata? value)

Implementation

external set metadata(MediaMetadata? value);