addListener

open override fun addListener(listener: TTSAgentInterface.Listener)

Add a listener to be called when a state changed.

Parameters

listener

the listener that added