addListener

abstract fun addListener(listener: AudioPlayerAgentInterface.Listener, requestCurrentState: Boolean = false)

Add a listener to be called when a state changed.

Parameters

listener

the listener that added