PropsMediaSession extension

on

Properties

metadata MediaMetadata?

Available on MediaSession, provided by the PropsMediaSession extension

getter/setter pair
playbackState MediaSessionPlaybackState

Available on MediaSession, provided by the PropsMediaSession extension

getter/setter pair

Methods

setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler) → void

Available on MediaSession, provided by the PropsMediaSession extension

setCameraActive(bool active) → void

Available on MediaSession, provided by the PropsMediaSession extension

setMicrophoneActive(bool active) → void

Available on MediaSession, provided by the PropsMediaSession extension

setPositionState([MediaPositionState? state]) → void

Available on MediaSession, provided by the PropsMediaSession extension