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