Skip to main content

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(
8        extends = "::js_sys::Object",
9        js_name = "VideoPlaybackQuality",
10        typescript_type = "VideoPlaybackQuality"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `VideoPlaybackQuality` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
18    pub type VideoPlaybackQuality;
19    #[wasm_bindgen(
20        method,
21        getter,
22        js_class = "VideoPlaybackQuality",
23        js_name = "creationTime"
24    )]
25    #[doc = "Getter for the `creationTime` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/creationTime)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
30    pub fn creation_time(this: &VideoPlaybackQuality) -> f64;
31    #[wasm_bindgen(
32        method,
33        getter,
34        js_class = "VideoPlaybackQuality",
35        js_name = "totalVideoFrames"
36    )]
37    #[doc = "Getter for the `totalVideoFrames` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
42    pub fn total_video_frames(this: &VideoPlaybackQuality) -> u32;
43    #[wasm_bindgen(
44        method,
45        getter,
46        js_class = "VideoPlaybackQuality",
47        js_name = "droppedVideoFrames"
48    )]
49    #[doc = "Getter for the `droppedVideoFrames` field of this object."]
50    #[doc = ""]
51    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
54    pub fn dropped_video_frames(this: &VideoPlaybackQuality) -> u32;
55    #[wasm_bindgen(
56        method,
57        getter,
58        js_class = "VideoPlaybackQuality",
59        js_name = "corruptedVideoFrames"
60    )]
61    #[doc = "Getter for the `corruptedVideoFrames` field of this object."]
62    #[doc = ""]
63    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)"]
64    #[doc = ""]
65    #[doc = "*This API requires the following crate features to be activated: `VideoPlaybackQuality`*"]
66    pub fn corrupted_video_frames(this: &VideoPlaybackQuality) -> u32;
67}