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 = AudioTrack , typescript_type = "AudioTrack")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `AudioTrack` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
13     pub type AudioTrack;
14     # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , 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/AudioTrack/id)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
id(this: &AudioTrack) -> String20     pub fn id(this: &AudioTrack) -> String;
21     # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , 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/AudioTrack/kind)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
kind(this: &AudioTrack) -> String27     pub fn kind(this: &AudioTrack) -> String;
28     # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , 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/AudioTrack/label)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
label(this: &AudioTrack) -> String34     pub fn label(this: &AudioTrack) -> String;
35     # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , 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/AudioTrack/language)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
language(this: &AudioTrack) -> String41     pub fn language(this: &AudioTrack) -> String;
42     # [wasm_bindgen (structural , method , getter , js_class = "AudioTrack" , js_name = enabled)]
43     #[doc = "Getter for the `enabled` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
enabled(this: &AudioTrack) -> bool48     pub fn enabled(this: &AudioTrack) -> bool;
49     # [wasm_bindgen (structural , method , setter , js_class = "AudioTrack" , js_name = enabled)]
50     #[doc = "Setter for the `enabled` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `AudioTrack`*"]
set_enabled(this: &AudioTrack, value: bool)55     pub fn set_enabled(this: &AudioTrack, value: bool);
56 }
57