addStateListener

fun addStateListener(stateListener: StateListener)

Add StateListener to the player

Parameters

stateListener

listener to notify on state changes