addOnDurationListener

open override fun addOnDurationListener(listener: AudioPlayerAgentInterface.OnDurationListener, requestCurrentState: Boolean)

Add a listener to be called when duration retrieved

Parameters

listener

the listener that added