State

sealed class State

Types

Link copied to clipboard
object BUSY : ASRAgentInterface.State

Recognizing: streaming finished, waiting to get complete recognized result.

Link copied to clipboard
object EXPECTING_SPEECH : ASRAgentInterface.State

Recognizing: waiting to start speech for speech recognition

Link copied to clipboard
object IDLE : ASRAgentInterface.State

Not recognizing : Initial state or

Link copied to clipboard
data class LISTENING(val initiator: ASRAgentInterface.Initiator) : ASRAgentInterface.State

Recognizing: speech recognition started, but not speech started yet.

Link copied to clipboard
object RECOGNIZING : ASRAgentInterface.State

Recognizing: streaming speech data to recognize.

Functions

Link copied to clipboard
open fun isRecognizing(): Boolean

Return whether recognizing state or not

Properties

Link copied to clipboard
abstract val name: String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard