web_sys/features/
gen_GetUserMediaRequest.rs

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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = GetUserMediaRequest , typescript_type = "GetUserMediaRequest")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `GetUserMediaRequest` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub type GetUserMediaRequest;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = windowID)]
    #[doc = "Getter for the `windowID` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/windowID)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn window_id(this: &GetUserMediaRequest) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = innerWindowID)]
    #[doc = "Getter for the `innerWindowID` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/innerWindowID)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn inner_window_id(this: &GetUserMediaRequest) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = callID)]
    #[doc = "Getter for the `callID` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/callID)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn call_id(this: &GetUserMediaRequest) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = rawID)]
    #[doc = "Getter for the `rawID` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/rawID)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn raw_id(this: &GetUserMediaRequest) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = mediaSource)]
    #[doc = "Getter for the `mediaSource` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/mediaSource)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn media_source(this: &GetUserMediaRequest) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = isSecure)]
    #[doc = "Getter for the `isSecure` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/isSecure)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn is_secure(this: &GetUserMediaRequest) -> bool;
    # [wasm_bindgen (structural , method , getter , js_class = "GetUserMediaRequest" , js_name = isHandlingUserInput)]
    #[doc = "Getter for the `isHandlingUserInput` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/isHandlingUserInput)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`*"]
    pub fn is_handling_user_input(this: &GetUserMediaRequest) -> bool;
    #[cfg(feature = "MediaStreamConstraints")]
    # [wasm_bindgen (method , structural , js_class = "GetUserMediaRequest" , js_name = getConstraints)]
    #[doc = "The `getConstraints()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GetUserMediaRequest/getConstraints)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `GetUserMediaRequest`, `MediaStreamConstraints`*"]
    pub fn get_constraints(this: &GetUserMediaRequest) -> MediaStreamConstraints;
}