Package-level declarations

Types

Link copied to clipboard
interface MediaImage
Link copied to clipboard
open class MediaMetadata(init: MediaMetadataInit = definedExternally)

The MediaMetadata interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The MediaSession interface of the Media Session API allows a web page to provide custom behaviors for standard media playback interactions, and to report metadata that can be sent by the user agent to the device or operating system for presentation in standardized user interface elements.

Link copied to clipboard
sealed interface MediaSessionAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface MediaSessionPlaybackState

Properties

Functions

Link copied to clipboard
inline suspend fun MediaSession.setCameraActive(active: Boolean)

The setCameraActive() method of the MediaSession interface is used to indicate to the user agent whether the user's camera is considered to be active.

Link copied to clipboard
inline suspend fun MediaSession.setMicrophoneActive(active: Boolean)

The setMicrophoneActive() method of the MediaSession interface is used to indicate to the user agent whether the user's microphone is considered to be currently muted.