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
#![allow(unused_imports)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaCapabilitiesInfo , typescript_type = "MediaCapabilitiesInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaCapabilitiesInfo` class."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] pub type MediaCapabilitiesInfo; # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = supported)] #[doc = "Getter for the `supported` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/supported)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] pub fn supported(this: &MediaCapabilitiesInfo) -> bool; # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = smooth)] #[doc = "Getter for the `smooth` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/smooth)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] pub fn smooth(this: &MediaCapabilitiesInfo) -> bool; # [wasm_bindgen (structural , method , getter , js_class = "MediaCapabilitiesInfo" , js_name = powerEfficient)] #[doc = "Getter for the `powerEfficient` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/powerEfficient)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*"] pub fn power_efficient(this: &MediaCapabilitiesInfo) -> bool; }