KIOSRecognizerState Constants Reference
Declared in | KIOSRecognizer.h |
---|
KIOSRecognizerState
These constants indicate the recognizer state
Definition
typedef NS_ENUM(NSInteger, KIOSRecognizerState ) {
KIOSRecognizerStateNeedsDecodingGraph = 0,
KIOSRecognizerStateReadyToListen,
KIOSRecognizerStateListening,
KIOSRecognizerStateFinalProcessing,
};
Constants
KIOSRecognizerStateNeedsDecodingGraph
-
Recognizer is initialized but it needs decoding graph before if can start listening
Declared In
KIOSRecognizer.h
. KIOSRecognizerStateReadyToListen
-
Recognizer is ready to start listening
Declared In
KIOSRecognizer.h
. KIOSRecognizerStateListening
-
Recognizer is actively listening. Any calls to startListening will be ignored
Declared In
KIOSRecognizer.h
. KIOSRecognizerStateFinalProcessing
-
Recognizer is not acquiring incoming audio any more, it is processing the final result. Note that in realistic scenarios recognizer is not likely to be in this state for a long time (usuaully 200-300ms). Long processing times may indicate that the SDK is running on devices which cannot keep up with the processing, or some type of misconfiguration.
Declared In
KIOSRecognizer.h
.
Declared In
KIOSRecognizer.h