XRSessionEvent: XRSessionEvent() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
- secure contexts (HTTPS), in some or all supporting browsers.
The WebXR Device API's
XRSessionEvent()
constructor creates and returns a new
XRSessionEvent
object. These objects represent events announcing
state changes in an XRSession
representing an augmented or virtual
reality session.