安全上下文
此特征只可用于 安全上下文 (HTTPS),在某些或所有 支持浏览器 .

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

特性

添加 只读
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>

规范

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

浏览器兼容性

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

元数据

  • 最后修改: