addOnStateChangeListener

open override fun addOnStateChangeListener(listener: ASRAgentInterface.OnStateChangeListener)

Add a listener to be called when a state changed.

Parameters

listener

the state listener that added