SpeechType type

Tune the speech recognition to expect a certain kind of speech.

Signature:

export type SpeechType = 'General' | 'NaturalLanguage' | 'SearchTerms' | 'VoiceNavigation';

Remarks

For instance, use 'NaturalLanguage' when you want to recognize full sentences, but 'SearchTerms' when you are looking for a specific word or words. 'VoiceNavigation' is good for answering prompts. Speech type will persist between recognition requests. Reset to 'General' to clear it.