1 #![allow(unused_imports)]
2 use wasm_bindgen::prelude::*;
3 #[wasm_bindgen]
4 #[doc = "The `SpeechRecognitionErrorCode` enum."]
5 #[doc = ""]
6 #[doc = "*This API requires the following crate features to be activated: `SpeechRecognitionErrorCode`*"]
7 #[derive(Debug, Clone, Copy, PartialEq, Eq)]
8 pub enum SpeechRecognitionErrorCode {
9     NoSpeech = "no-speech",
10     Aborted = "aborted",
11     AudioCapture = "audio-capture",
12     Network = "network",
13     NotAllowed = "not-allowed",
14     ServiceNotAllowed = "service-not-allowed",
15     BadGrammar = "bad-grammar",
16     LanguageNotSupported = "language-not-supported",
17 }
18