setSpeechEventTimeout
Adjust the speech event timeout. This controls how many milliseconds since the
last speech detection event to wait before finalizing recognition. This timeout
works better than setEndOfSpeechTimeout()
in noisy environments.
Parameters
milliseconds
Timeout in milliseconds.
Returns
FunctionResult — this, for chaining.