onChanged

open override fun onChanged(progress: Duration)

Callback to invoke when the progress is being manually changed.

Parameters

progress

The new progress of the media being played. It must be between 0ms and Player.getDuration.