Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRSessionEventInit
dictionary is used when calling the XRSessionEvent()
constructor to provide the new event's initial values. You're unlikely to need to create these events yourself, however, as they're created by the XR system.
Properties
Examples
<tbd>
Specifications
Specification | Status | Comment |
---|---|---|
WebXR Device APIThe definition of 'XRSessionEventInit' in that specification. | Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "api.XRSessionEventInit" (depth: 1) to the MDN compatibility data repository.
XRSessionEventInit by Mozilla Contributors is licensed under CC-BY-SA 2.5.