PlayerControlView.ProgressUpdateListener


interface PlayerControlView.ProgressUpdateListener


Listener to be notified when progress has been updated.

Summary

Public functions

Unit
onProgressUpdate(position: Long, bufferedPosition: Long)

Called when progress needs to be updated.

Public functions

onProgressUpdate

fun onProgressUpdate(position: Long, bufferedPosition: Long): Unit

Called when progress needs to be updated.

Parameters
position: Long

The current position.

bufferedPosition: Long

The current buffered position.