playbackState property

MediaSessionPlaybackState get playbackState

The playbackState property of the MediaSession interface indicates whether the current media session is playing or paused.

Implementation

external MediaSessionPlaybackState get playbackState;
set playbackState (MediaSessionPlaybackState value)

Implementation

external set playbackState(MediaSessionPlaybackState value);