XRInputSourcesChangeEvent.session

Secure context

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The XRInputSourcesChangeEvent property session specifies the XRSession to which the input source list change event applies.

Syntax

let inputsSession = xrInputSourcesChangeEvent.session;

Value

An XRSession indicating the WebXR session to which the input source list change applies.

Specifications

Specification Status Comment
WebXR Device API
The definition of 'XRInputSourcesChangeEvent.session' in that specification.
Working Draft Initial definition.

Browser compatibility

BCD tables only load in the browser