web_sys/features/
gen_VideoPlaybackQuality.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoPlaybackQuality , typescript_type = "VideoPlaybackQuality")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `VideoPlaybackQuality` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
14    pub type VideoPlaybackQuality;
15    # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = creationTime)]
16    #[doc = "Getter for the `creationTime` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/creationTime)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
21    pub fn creation_time(this: &VideoPlaybackQuality) -> f64;
22    # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = totalVideoFrames)]
23    #[doc = "Getter for the `totalVideoFrames` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
28    pub fn total_video_frames(this: &VideoPlaybackQuality) -> u32;
29    # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = droppedVideoFrames)]
30    #[doc = "Getter for the `droppedVideoFrames` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
35    pub fn dropped_video_frames(this: &VideoPlaybackQuality) -> u32;
36    # [wasm_bindgen (structural , method , getter , js_class = "VideoPlaybackQuality" , js_name = corruptedVideoFrames)]
37    #[doc = "Getter for the `corruptedVideoFrames` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
42    pub fn corrupted_video_frames(this: &VideoPlaybackQuality) -> u32;
43}