android-components / / Media / Controller


interface Controller (source)

Controller for controlling playback of a media element.


Name Summary
pause abstract fun pause(): Unit
Pauses the media.
play abstract fun play(): Unit
Plays the media.
seek abstract fun seek(time: Double): Unit
Seek the media to a given time.
setMuted abstract fun setMuted(muted: Boolean): Unit
Mutes/Unmutes the media.