ASRState
public enum ASRState
Identifies the ASRAgent
state.
-
In this state, the
ASRAgent
is not waiting for or transmitting speech.Declaration
Swift
case idle
-
In this state, the
ASRAgent
is waiting for a call torecognize()
.Declaration
Swift
case expectingSpeech
-
In this state, the
ASRAgent
is passively streaming speech.Declaration
Swift
case listening
-
In this state, the
ASRAgent
is actively streaming speech.Declaration
Swift
case recognizing
-
In this state, the
ASRAgent
has finished streaming and is waiting for completion of an Event.Declaration
Swift
case busy