StateListener

fun interface StateListener

This interface supports clients that want to be informed when the player's state changes.

See also

Functions

onStateChanged
Link copied to clipboard
abstract fun onStateChanged(state: State)

A call to this indicates the player has changed to the provided state from a different state.