Optional event handler invoked when there is a recognition error
Event handler invoked whenever the recognizer has a complete phrase to return
Optional event handler invoked whenever the recognizer has a partial recognition available
Activate the microphone and attempt to recognize speech in the next few seconds Ideally, the recognition would include 2s of audio before the call, drawing from some buffer
OptionalmaxRetries: numberNumber of time to retry before returning an error
Recognized items/hypotheses, or null if nothing was recognized
Start the recognition process. Intermediate results are returned via the onRecognizing event; final results (phrase) are returned via the onRecognized event The expectation is that speech recognition is started at the beginning of a sketch, and stopped sometime after the end of the sketch
Stop the recognition process. Is normally called at the end of a sketch action
Optionalwait: numberTime in seconds to wait before stopping recognition
Stp interface to speech recognition engine