addOnStateChangeListener

abstract fun addOnStateChangeListener(listener: ASRAgentInterface.OnStateChangeListener)

Add a listener to be called when a state changed.

Parameters

listener

the state listener that added