web_sys/features/
gen_LocalMediaStream.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = MediaStream , extends = EventTarget , extends = :: js_sys :: Object , js_name = LocalMediaStream , typescript_type = "LocalMediaStream")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `LocalMediaStream` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `LocalMediaStream`*"]
14 pub type LocalMediaStream;
15 # [wasm_bindgen (method , structural , js_class = "LocalMediaStream" , js_name = stop)]
16 #[doc = "The `stop()` method."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream/stop)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `LocalMediaStream`*"]
21 pub fn stop(this: &LocalMediaStream);
22}