android-components / mozilla.components.concept.engine.media / Media / Controller

Controller

interface Controller (source)

Controller for controlling playback of a media element.

Functions

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.