TimeBar.OnScrubListener
Artifact: androidx.media3:media3-ui
interface TimeBar.OnScrubListener
Listener for scrubbing events.
Summary
Public functions |
|
|---|---|
Unit |
onScrubMove(timeBar: TimeBar!, position: Long)Called when the user moves the scrubber. |
Unit |
onScrubStart(timeBar: TimeBar!, position: Long)Called when the user starts moving the scrubber. |
Unit |
onScrubStop(timeBar: TimeBar!, position: Long, canceled: Boolean)Called when the user stops moving the scrubber. |
Public functions
onScrubMove
fun onScrubMove(timeBar: TimeBar!, position: Long): Unit
Called when the user moves the scrubber.
onScrubStart
fun onScrubStart(timeBar: TimeBar!, position: Long): Unit
Called when the user starts moving the scrubber.