onStateChanged

abstract fun onStateChanged(previousState: Flowplayer.State, currentState: Flowplayer.State)

Called every time the player's playback state changes.

Parameters

previousState

The player's previous playback state.

currentState

The player's new playback state.