ProgressTrackerState

Interface used to subscribe to and update the Player progression.

Inheritors

Properties

Link copied to clipboard
abstract val progress: StateFlow<Duration>

Emits the current progress, which can be either the value being manually set, or the actual Player progress.

Functions

Link copied to clipboard
abstract fun onChanged(progress: Duration)

Callback to invoke when the progress is being manually changed.

Link copied to clipboard
abstract fun onFinished()

Callback to invoke when the progress is no longer being changed.