SetLoopMode
class SetLoopMode(val currentLoopMode: PlaybackState.LoopMode, val perform: suspend (PlaybackState.LoopMode) -> Unit) : MediaPlayer.Controls.ControlType
A ControlType that provides and adjusts the PlaybackState.LoopMode of the current playback of a MediaPlayer
Constructors
Link copied to clipboard
constructor(currentLoopMode: PlaybackState.LoopMode, perform: suspend (PlaybackState.LoopMode) -> Unit)
Properties
Link copied to clipboard
the PlaybackState.LoopMode at which playback is currently set
Link copied to clipboard
action to change the PlaybackState.LoopMode of the current playback of the current MediaPlayer