Liking cljdoc? Tell your friends :D

web.audio.MediaSession

The MediaSession interface of the Media Session API allows a page to provide custom behaviors for standard media playback

The MediaSession interface of the Media Session API allows a
page to provide custom behaviors for standard media playback
raw docstring

metadatacljs

(metadata this)

Property.

The metadata property of the web.audio.MediaSession interface, an instance of web.audio.MediaMetadata which contains rich metadata, for display in a platform UI.

var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata

Property.

The metadata property of the `web.audio.MediaSession` interface,
an instance of `web.audio.MediaMetadata` which contains rich
metadata, for display in a platform UI.

`var mediaMetadata = MediaSession.metadata
MediaSession.metadata = mediaMetadata`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata`
raw docstring

playback-statecljs

(playback-state this)

Property.

The playbackState property of the web.audio.MediaSession interface whether the current media session is playing.

var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState

Property.

The playbackState property of the `web.audio.MediaSession` interface
whether the current media session is playing.

`var playbackState = MediaSession.playbackState
MediaSession.playbackState = playbackState`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState`
raw docstring

set-action-handlercljs

(set-action-handler this type callback)

Method.

The setActionHandler() property of the web.audio.MediaSession sets an event handler for a media session action.

navigator.mediaSession.setActionHandler(type, callback)

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler

Method.

The setActionHandler() property of the `web.audio.MediaSession`
sets an event handler for a media session action.

`navigator.mediaSession.setActionHandler(type, callback)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler`
raw docstring

set-metadata!cljs

(set-metadata! this val)

Property.

The metadata property of the web.audio.MediaSession interface, an instance of web.audio.MediaMetadata which contains rich metadata, for display in a platform UI.

var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata

Property.

The metadata property of the `web.audio.MediaSession` interface,
an instance of `web.audio.MediaMetadata` which contains rich
metadata, for display in a platform UI.

`var mediaMetadata = MediaSession.metadata
MediaSession.metadata = mediaMetadata`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata`
raw docstring

set-playback-state!cljs

(set-playback-state! this val)

Property.

The playbackState property of the web.audio.MediaSession interface whether the current media session is playing.

var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState

Property.

The playbackState property of the `web.audio.MediaSession` interface
whether the current media session is playing.

`var playbackState = MediaSession.playbackState
MediaSession.playbackState = playbackState`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close