WebIDLpedia

[DEPRECATED] SpeechRecognitionMode enum

As of May 28, 2025, this name is no longer defined by a Web Platform specification

Definition

Web Speech API defines SpeechRecognitionMode



enum SpeechRecognitionMode {
    "ondevice-preferred", // On-device speech recognition if available, otherwise use Cloud speech recognition as a fallback.
    "ondevice-only", // On-device speech recognition only. Returns an error if on-device speech recognition is not available.
    "cloud-only", // Cloud speech recognition only.
};

Referring IDL interfaces/dictionaries