addOnStateChangeListener

open override fun addOnStateChangeListener(listener: KeywordDetector.OnStateChangeListener)

Add observer

Parameters

listener

the state listener