1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaDeviceInfo , typescript_type = "MediaDeviceInfo")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `MediaDeviceInfo` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
    pub type MediaDeviceInfo;
    # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = deviceId)]
    #[doc = "Getter for the `deviceId` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/deviceId)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
    pub fn device_id(this: &MediaDeviceInfo) -> String;
    #[cfg(feature = "MediaDeviceKind")]
    # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = kind)]
    #[doc = "Getter for the `kind` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/kind)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`, `MediaDeviceKind`*"]
    pub fn kind(this: &MediaDeviceInfo) -> MediaDeviceKind;
    # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = label)]
    #[doc = "Getter for the `label` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/label)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
    pub fn label(this: &MediaDeviceInfo) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "MediaDeviceInfo" , js_name = groupId)]
    #[doc = "Getter for the `groupId` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/groupId)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
    pub fn group_id(this: &MediaDeviceInfo) -> String;
    # [wasm_bindgen (method , structural , js_class = "MediaDeviceInfo" , js_name = toJSON)]
    #[doc = "The `toJSON()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/toJSON)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `MediaDeviceInfo`*"]
    pub fn to_json(this: &MediaDeviceInfo) -> ::js_sys::Object;
}