onProgressUpdate

abstract fun onProgressUpdate(play: Play, elapsedTime: Float, duration: Float)

Triggered every 500ms for progress updates on current playing item

Parameters

play

The track being played

elapsedTime

time elapsed in seconds

duration

Total duration in seconds