Seek

class Seek(val perform: suspend (Duration) -> Boolean) : MediaPlayer.Controls.ControlType

A ControlType that allows a MediaPlayer to seek its current playback to a given Duration

Constructors

Link copied to clipboard
constructor(perform: suspend (Duration) -> Boolean)

Properties

Link copied to clipboard
val perform: suspend (Duration) -> Boolean

action to seek the current playback of the MediaPlayer to a given Duration