1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRServiceTest , typescript_type = "VRServiceTest")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `VrServiceTest` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
13     pub type VrServiceTest;
14     # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRController)]
15     #[doc = "The `attachVRController()` method."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
attach_vr_controller( this: &VrServiceTest, id: &str, ) -> Result<::js_sys::Promise, JsValue>20     pub fn attach_vr_controller(
21         this: &VrServiceTest,
22         id: &str,
23     ) -> Result<::js_sys::Promise, JsValue>;
24     # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRDisplay)]
25     #[doc = "The `attachVRDisplay()` method."]
26     #[doc = ""]
27     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)"]
28     #[doc = ""]
29     #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
attach_vr_display(this: &VrServiceTest, id: &str) -> Result<::js_sys::Promise, JsValue>30     pub fn attach_vr_display(this: &VrServiceTest, id: &str) -> Result<::js_sys::Promise, JsValue>;
31 }
32