@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRInputSourcesChangeEvent")
public class XRInputSourcesChangeEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
XRInputSourcesChangeEvent(java.lang.String type,
XRInputSourcesChangeEventInit eventInitDict)
The XRInputSourcesChangeEvent() constructor creates and returns a new XRInputSourcesChangeEvent object, representing an update to the list of available WebXR input devices.
|
| Modifier and Type | Method and Description |
|---|---|
JsArray<XRInputSource> |
added()
The read-only XRInputSourcesChangeEvent property added is a list of zero or more input sources, each identified using an XRInputSource object, which have been newly made available for use.
|
JsArray<XRInputSource> |
removed()
The read-only XRInputSourcesChangeEvent property removed is an array of zero or more XRInputSource objects representing the input sources which have been removed from the XRSession.
|
XRSession |
session()
The XRInputSourcesChangeEvent property session specifies the XRSession to which the input source list change event applies.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic XRInputSourcesChangeEvent(@Nonnull
java.lang.String type,
@Nonnull
XRInputSourcesChangeEventInit eventInitDict)
@JsProperty(name="added") @Nonnull public JsArray<XRInputSource> added()
@JsProperty(name="removed") @Nonnull public JsArray<XRInputSource> removed()
@JsProperty(name="session") @Nonnull public XRSession session()