PropsMediaSession extension

on

Properties

metadata MediaMetadata?
getter/setter pair
playbackState MediaSessionPlaybackState
getter/setter pair

Methods

setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler) → void
setCameraActive(bool active) → void
setMicrophoneActive(bool active) → void
setPositionState([MediaPositionState? state]) → void