Skip to main content

web_sys/features/
gen_PresentationReceiver.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "::js_sys::Object",
9        js_name = "PresentationReceiver",
10        typescript_type = "PresentationReceiver"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `PresentationReceiver` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `PresentationReceiver`*"]
18    pub type PresentationReceiver;
19    #[wasm_bindgen(
20        catch,
21        method,
22        getter,
23        js_class = "PresentationReceiver",
24        js_name = "connectionList"
25    )]
26    #[doc = "Getter for the `connectionList` field of this object."]
27    #[doc = ""]
28    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver/connectionList)"]
29    #[doc = ""]
30    #[doc = "*This API requires the following crate features to be activated: `PresentationReceiver`*"]
31    pub fn connection_list(this: &PresentationReceiver) -> Result<::js_sys::Promise, JsValue>;
32}