@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface XRInputSourcesChangeEventInit
extends EventInit
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XRInputSourcesChangeEventInit.Builder
The XRInputSourcesChangeEvent() constructor creates and returns a new XRInputSourcesChangeEvent object, representing an update to the list of available WebXR input devices.
|
static interface |
XRInputSourcesChangeEventInit.Step1 |
static interface |
XRInputSourcesChangeEventInit.Step2 |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull JsArray<XRInputSource> |
added()
The XRInputSourcesChangeEventInit property added specifies a list of input sources, each identified using an XRInputSource object, which the represented inputsourceschange event is to indicate are newly available for use.
|
@JsNonNull JsArray<XRInputSource> |
removed()
The XRInputSourcesChangeEventInit property removed is an array of zero or more XRInputSource objects, each representing one input source which has been removed from the XRSession.
|
@JsNonNull XRSession |
session()
The XRInputSourcesChangeEventInit property session specifies the XRSession to which the input source list change event applies.
|
static XRInputSourcesChangeEventInit.Step1 |
session(XRSession session) |
void |
setAdded(@JsNonNull JsArray<XRInputSource> added)
The XRInputSourcesChangeEventInit property added specifies a list of input sources, each identified using an XRInputSource object, which the represented inputsourceschange event is to indicate are newly available for use.
|
void |
setRemoved(@JsNonNull JsArray<XRInputSource> removed)
The XRInputSourcesChangeEventInit property removed is an array of zero or more XRInputSource objects, each representing one input source which has been removed from the XRSession.
|
void |
setSession(@JsNonNull XRSession session)
The XRInputSourcesChangeEventInit property session specifies the XRSession to which the input source list change event applies.
|
bubbles, cancelable, composed, of, setBubbles, setCancelable, setComposed@JsOverlay @Nonnull static XRInputSourcesChangeEventInit.Step1 session(@Nonnull XRSession session)
@JsProperty(name="session") @JsNonNull XRSession session()
@JsProperty void setSession(@JsNonNull XRSession session)
@JsProperty(name="added") @JsNonNull JsArray<XRInputSource> added()
@JsProperty void setAdded(@JsNonNull JsArray<XRInputSource> added)
@JsProperty(name="removed") @JsNonNull JsArray<XRInputSource> removed()
@JsProperty void setRemoved(@JsNonNull JsArray<XRInputSource> removed)