Skip to main content

web_sys/features/
gen_MediaKeyError.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 = "Event",
9        extends = "::js_sys::Object",
10        js_name = "MediaKeyError",
11        typescript_type = "MediaKeyError"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `MediaKeyError` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `MediaKeyError`*"]
19    pub type MediaKeyError;
20    #[wasm_bindgen(method, getter, js_class = "MediaKeyError", js_name = "systemCode")]
21    #[doc = "Getter for the `systemCode` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError/systemCode)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `MediaKeyError`*"]
26    pub fn system_code(this: &MediaKeyError) -> u32;
27}