1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechRecognition , typescript_type = "SpeechRecognition")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SpeechRecognition` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
13     pub type SpeechRecognition;
14     #[cfg(feature = "SpeechGrammarList")]
15     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = grammars)]
16     #[doc = "Getter for the `grammars` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*"]
grammars(this: &SpeechRecognition) -> SpeechGrammarList21     pub fn grammars(this: &SpeechRecognition) -> SpeechGrammarList;
22     #[cfg(feature = "SpeechGrammarList")]
23     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = grammars)]
24     #[doc = "Setter for the `grammars` field of this object."]
25     #[doc = ""]
26     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)"]
27     #[doc = ""]
28     #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*"]
set_grammars(this: &SpeechRecognition, value: &SpeechGrammarList)29     pub fn set_grammars(this: &SpeechRecognition, value: &SpeechGrammarList);
30     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = lang)]
31     #[doc = "Getter for the `lang` field of this object."]
32     #[doc = ""]
33     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)"]
34     #[doc = ""]
35     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
lang(this: &SpeechRecognition) -> String36     pub fn lang(this: &SpeechRecognition) -> String;
37     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = lang)]
38     #[doc = "Setter for the `lang` field of this object."]
39     #[doc = ""]
40     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)"]
41     #[doc = ""]
42     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_lang(this: &SpeechRecognition, value: &str)43     pub fn set_lang(this: &SpeechRecognition, value: &str);
44     # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechRecognition" , js_name = continuous)]
45     #[doc = "Getter for the `continuous` field of this object."]
46     #[doc = ""]
47     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)"]
48     #[doc = ""]
49     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
continuous(this: &SpeechRecognition) -> Result<bool, JsValue>50     pub fn continuous(this: &SpeechRecognition) -> Result<bool, JsValue>;
51     # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = continuous)]
52     #[doc = "Setter for the `continuous` field of this object."]
53     #[doc = ""]
54     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)"]
55     #[doc = ""]
56     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_continuous(this: &SpeechRecognition, value: bool) -> Result<(), JsValue>57     pub fn set_continuous(this: &SpeechRecognition, value: bool) -> Result<(), JsValue>;
58     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = interimResults)]
59     #[doc = "Getter for the `interimResults` field of this object."]
60     #[doc = ""]
61     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)"]
62     #[doc = ""]
63     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
interim_results(this: &SpeechRecognition) -> bool64     pub fn interim_results(this: &SpeechRecognition) -> bool;
65     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = interimResults)]
66     #[doc = "Setter for the `interimResults` field of this object."]
67     #[doc = ""]
68     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)"]
69     #[doc = ""]
70     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_interim_results(this: &SpeechRecognition, value: bool)71     pub fn set_interim_results(this: &SpeechRecognition, value: bool);
72     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = maxAlternatives)]
73     #[doc = "Getter for the `maxAlternatives` field of this object."]
74     #[doc = ""]
75     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)"]
76     #[doc = ""]
77     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
max_alternatives(this: &SpeechRecognition) -> u3278     pub fn max_alternatives(this: &SpeechRecognition) -> u32;
79     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = maxAlternatives)]
80     #[doc = "Setter for the `maxAlternatives` field of this object."]
81     #[doc = ""]
82     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)"]
83     #[doc = ""]
84     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_max_alternatives(this: &SpeechRecognition, value: u32)85     pub fn set_max_alternatives(this: &SpeechRecognition, value: u32);
86     # [wasm_bindgen (structural , catch , method , getter , js_class = "SpeechRecognition" , js_name = serviceURI)]
87     #[doc = "Getter for the `serviceURI` field of this object."]
88     #[doc = ""]
89     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)"]
90     #[doc = ""]
91     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
service_uri(this: &SpeechRecognition) -> Result<String, JsValue>92     pub fn service_uri(this: &SpeechRecognition) -> Result<String, JsValue>;
93     # [wasm_bindgen (structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = serviceURI)]
94     #[doc = "Setter for the `serviceURI` field of this object."]
95     #[doc = ""]
96     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)"]
97     #[doc = ""]
98     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_service_uri(this: &SpeechRecognition, value: &str) -> Result<(), JsValue>99     pub fn set_service_uri(this: &SpeechRecognition, value: &str) -> Result<(), JsValue>;
100     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onaudiostart)]
101     #[doc = "Getter for the `onaudiostart` field of this object."]
102     #[doc = ""]
103     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)"]
104     #[doc = ""]
105     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onaudiostart(this: &SpeechRecognition) -> Option<::js_sys::Function>106     pub fn onaudiostart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
107     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onaudiostart)]
108     #[doc = "Setter for the `onaudiostart` field of this object."]
109     #[doc = ""]
110     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)"]
111     #[doc = ""]
112     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onaudiostart(this: &SpeechRecognition, value: Option<&::js_sys::Function>)113     pub fn set_onaudiostart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
114     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onsoundstart)]
115     #[doc = "Getter for the `onsoundstart` field of this object."]
116     #[doc = ""]
117     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)"]
118     #[doc = ""]
119     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onsoundstart(this: &SpeechRecognition) -> Option<::js_sys::Function>120     pub fn onsoundstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
121     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onsoundstart)]
122     #[doc = "Setter for the `onsoundstart` field of this object."]
123     #[doc = ""]
124     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)"]
125     #[doc = ""]
126     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onsoundstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>)127     pub fn set_onsoundstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
128     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onspeechstart)]
129     #[doc = "Getter for the `onspeechstart` field of this object."]
130     #[doc = ""]
131     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)"]
132     #[doc = ""]
133     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onspeechstart(this: &SpeechRecognition) -> Option<::js_sys::Function>134     pub fn onspeechstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
135     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onspeechstart)]
136     #[doc = "Setter for the `onspeechstart` field of this object."]
137     #[doc = ""]
138     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)"]
139     #[doc = ""]
140     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onspeechstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>)141     pub fn set_onspeechstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
142     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onspeechend)]
143     #[doc = "Getter for the `onspeechend` field of this object."]
144     #[doc = ""]
145     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)"]
146     #[doc = ""]
147     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onspeechend(this: &SpeechRecognition) -> Option<::js_sys::Function>148     pub fn onspeechend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
149     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onspeechend)]
150     #[doc = "Setter for the `onspeechend` field of this object."]
151     #[doc = ""]
152     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)"]
153     #[doc = ""]
154     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onspeechend(this: &SpeechRecognition, value: Option<&::js_sys::Function>)155     pub fn set_onspeechend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
156     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onsoundend)]
157     #[doc = "Getter for the `onsoundend` field of this object."]
158     #[doc = ""]
159     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)"]
160     #[doc = ""]
161     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onsoundend(this: &SpeechRecognition) -> Option<::js_sys::Function>162     pub fn onsoundend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
163     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onsoundend)]
164     #[doc = "Setter for the `onsoundend` field of this object."]
165     #[doc = ""]
166     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)"]
167     #[doc = ""]
168     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onsoundend(this: &SpeechRecognition, value: Option<&::js_sys::Function>)169     pub fn set_onsoundend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
170     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onaudioend)]
171     #[doc = "Getter for the `onaudioend` field of this object."]
172     #[doc = ""]
173     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)"]
174     #[doc = ""]
175     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onaudioend(this: &SpeechRecognition) -> Option<::js_sys::Function>176     pub fn onaudioend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
177     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onaudioend)]
178     #[doc = "Setter for the `onaudioend` field of this object."]
179     #[doc = ""]
180     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)"]
181     #[doc = ""]
182     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onaudioend(this: &SpeechRecognition, value: Option<&::js_sys::Function>)183     pub fn set_onaudioend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
184     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onresult)]
185     #[doc = "Getter for the `onresult` field of this object."]
186     #[doc = ""]
187     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)"]
188     #[doc = ""]
189     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onresult(this: &SpeechRecognition) -> Option<::js_sys::Function>190     pub fn onresult(this: &SpeechRecognition) -> Option<::js_sys::Function>;
191     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onresult)]
192     #[doc = "Setter for the `onresult` field of this object."]
193     #[doc = ""]
194     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)"]
195     #[doc = ""]
196     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onresult(this: &SpeechRecognition, value: Option<&::js_sys::Function>)197     pub fn set_onresult(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
198     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onnomatch)]
199     #[doc = "Getter for the `onnomatch` field of this object."]
200     #[doc = ""]
201     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)"]
202     #[doc = ""]
203     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onnomatch(this: &SpeechRecognition) -> Option<::js_sys::Function>204     pub fn onnomatch(this: &SpeechRecognition) -> Option<::js_sys::Function>;
205     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onnomatch)]
206     #[doc = "Setter for the `onnomatch` field of this object."]
207     #[doc = ""]
208     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)"]
209     #[doc = ""]
210     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onnomatch(this: &SpeechRecognition, value: Option<&::js_sys::Function>)211     pub fn set_onnomatch(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
212     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onerror)]
213     #[doc = "Getter for the `onerror` field of this object."]
214     #[doc = ""]
215     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)"]
216     #[doc = ""]
217     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onerror(this: &SpeechRecognition) -> Option<::js_sys::Function>218     pub fn onerror(this: &SpeechRecognition) -> Option<::js_sys::Function>;
219     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onerror)]
220     #[doc = "Setter for the `onerror` field of this object."]
221     #[doc = ""]
222     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)"]
223     #[doc = ""]
224     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onerror(this: &SpeechRecognition, value: Option<&::js_sys::Function>)225     pub fn set_onerror(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
226     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onstart)]
227     #[doc = "Getter for the `onstart` field of this object."]
228     #[doc = ""]
229     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)"]
230     #[doc = ""]
231     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onstart(this: &SpeechRecognition) -> Option<::js_sys::Function>232     pub fn onstart(this: &SpeechRecognition) -> Option<::js_sys::Function>;
233     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onstart)]
234     #[doc = "Setter for the `onstart` field of this object."]
235     #[doc = ""]
236     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)"]
237     #[doc = ""]
238     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>)239     pub fn set_onstart(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
240     # [wasm_bindgen (structural , method , getter , js_class = "SpeechRecognition" , js_name = onend)]
241     #[doc = "Getter for the `onend` field of this object."]
242     #[doc = ""]
243     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)"]
244     #[doc = ""]
245     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
onend(this: &SpeechRecognition) -> Option<::js_sys::Function>246     pub fn onend(this: &SpeechRecognition) -> Option<::js_sys::Function>;
247     # [wasm_bindgen (structural , method , setter , js_class = "SpeechRecognition" , js_name = onend)]
248     #[doc = "Setter for the `onend` field of this object."]
249     #[doc = ""]
250     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)"]
251     #[doc = ""]
252     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
set_onend(this: &SpeechRecognition, value: Option<&::js_sys::Function>)253     pub fn set_onend(this: &SpeechRecognition, value: Option<&::js_sys::Function>);
254     #[wasm_bindgen(catch, constructor, js_class = "SpeechRecognition")]
255     #[doc = "The `new SpeechRecognition(..)` constructor, creating a new instance of `SpeechRecognition`."]
256     #[doc = ""]
257     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/SpeechRecognition)"]
258     #[doc = ""]
259     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
new() -> Result<SpeechRecognition, JsValue>260     pub fn new() -> Result<SpeechRecognition, JsValue>;
261     # [wasm_bindgen (method , structural , js_class = "SpeechRecognition" , js_name = abort)]
262     #[doc = "The `abort()` method."]
263     #[doc = ""]
264     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/abort)"]
265     #[doc = ""]
266     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
abort(this: &SpeechRecognition)267     pub fn abort(this: &SpeechRecognition);
268     # [wasm_bindgen (catch , method , structural , js_class = "SpeechRecognition" , js_name = start)]
269     #[doc = "The `start()` method."]
270     #[doc = ""]
271     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)"]
272     #[doc = ""]
273     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
start(this: &SpeechRecognition) -> Result<(), JsValue>274     pub fn start(this: &SpeechRecognition) -> Result<(), JsValue>;
275     #[cfg(feature = "MediaStream")]
276     # [wasm_bindgen (catch , method , structural , js_class = "SpeechRecognition" , js_name = start)]
277     #[doc = "The `start()` method."]
278     #[doc = ""]
279     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)"]
280     #[doc = ""]
281     #[doc = "*This API requires the following crate features to be activated: `MediaStream`, `SpeechRecognition`*"]
start_with_stream(this: &SpeechRecognition, stream: &MediaStream) -> Result<(), JsValue>282     pub fn start_with_stream(this: &SpeechRecognition, stream: &MediaStream)
283         -> Result<(), JsValue>;
284     # [wasm_bindgen (method , structural , js_class = "SpeechRecognition" , js_name = stop)]
285     #[doc = "The `stop()` method."]
286     #[doc = ""]
287     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/stop)"]
288     #[doc = ""]
289     #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"]
stop(this: &SpeechRecognition)290     pub fn stop(this: &SpeechRecognition);
291 }
292