1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnectionList , typescript_type = "PresentationConnectionList")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `PresentationConnectionList` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"] 13 pub type PresentationConnectionList; 14 # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionList" , js_name = connections)] 15 #[doc = "Getter for the `connections` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/connections)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"] connections(this: &PresentationConnectionList) -> ::js_sys::Array20 pub fn connections(this: &PresentationConnectionList) -> ::js_sys::Array; 21 # [wasm_bindgen (structural , method , getter , js_class = "PresentationConnectionList" , js_name = onconnectionavailable)] 22 #[doc = "Getter for the `onconnectionavailable` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"] onconnectionavailable(this: &PresentationConnectionList) -> Option<::js_sys::Function>27 pub fn onconnectionavailable(this: &PresentationConnectionList) -> Option<::js_sys::Function>; 28 # [wasm_bindgen (structural , method , setter , js_class = "PresentationConnectionList" , js_name = onconnectionavailable)] 29 #[doc = "Setter for the `onconnectionavailable` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `PresentationConnectionList`*"] set_onconnectionavailable( this: &PresentationConnectionList, value: Option<&::js_sys::Function>, )34 pub fn set_onconnectionavailable( 35 this: &PresentationConnectionList, 36 value: Option<&::js_sys::Function>, 37 ); 38 } 39