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 computing the final result. Recognizer is not likely to be in this state for a long time; approximately 100-300ms, depending on the device and the CPU speed.
Declared In
KIOSRecognizer.h.
Declared In
KIOSRecognizer.h
