XRInputSourcesChangeEventInit

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

XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent() constructor in order to set the initial state of the new XRInputSourcesChangeEvent 对象。

特性

added 只读
An array of zero or more XRInputSource objects, each representing one input device which is newly available to use.
removed 只读
An array of zero or more XRInputSource objects representing the input devices which are no longer available.
session 只读
XRSession to which the event applies.

范例

<tbd>

规范

规范 状态 Comment
WebXR 设备 API
The definition of 'XRInputSourcesChangeEventInit' in that specification.
工作草案 初始定义。

浏览器兼容性

No compatibility data found. Please contribute data for "api.XRInputSourcesChangeEventInit" (depth: 1) to the MDN 兼容性数据存储库 .