Listener

interface Listener

Interface of a listener to be called when there has been an change of state

Functions

Link copied to clipboard
open fun onError(dialogRequestId: String)

Called when occur error after onReceiveTTSText

Link copied to clipboard
open fun onReceiveTTSText(text: String?, dialogRequestId: String)

Called to receive a text will be playing

Link copied to clipboard
abstract fun onStateChanged(state: TTSAgentInterface.State, dialogRequestId: String)

Called to notify an change of state

Inheritors

Link copied to clipboard