1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoTrack , typescript_type = "VideoTrack")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `VideoTrack` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] 13 pub type VideoTrack; 14 # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = id)] 15 #[doc = "Getter for the `id` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/id)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] id(this: &VideoTrack) -> String20 pub fn id(this: &VideoTrack) -> String; 21 # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = kind)] 22 #[doc = "Getter for the `kind` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/kind)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] kind(this: &VideoTrack) -> String27 pub fn kind(this: &VideoTrack) -> String; 28 # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = label)] 29 #[doc = "Getter for the `label` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/label)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] label(this: &VideoTrack) -> String34 pub fn label(this: &VideoTrack) -> String; 35 # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = language)] 36 #[doc = "Getter for the `language` field of this object."] 37 #[doc = ""] 38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/language)"] 39 #[doc = ""] 40 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] language(this: &VideoTrack) -> String41 pub fn language(this: &VideoTrack) -> String; 42 # [wasm_bindgen (structural , method , getter , js_class = "VideoTrack" , js_name = selected)] 43 #[doc = "Getter for the `selected` field of this object."] 44 #[doc = ""] 45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)"] 46 #[doc = ""] 47 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] selected(this: &VideoTrack) -> bool48 pub fn selected(this: &VideoTrack) -> bool; 49 # [wasm_bindgen (structural , method , setter , js_class = "VideoTrack" , js_name = selected)] 50 #[doc = "Setter for the `selected` field of this object."] 51 #[doc = ""] 52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)"] 53 #[doc = ""] 54 #[doc = "*This API requires the following crate features to be activated: `VideoTrack`*"] set_selected(this: &VideoTrack, value: bool)55 pub fn set_selected(this: &VideoTrack, value: bool); 56 } 57