@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 XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent() constructor in order to set the initial state of the new XRInputSourcesChangeEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
static XRInputSourcesChangeEventInit.Builder |
create(JsArray<XRInputSource> added,
JsArray<XRInputSource> removed,
XRSession session) |
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.
|
XRSession |
session()
The XRInputSourcesChangeEventInit property session specifies the XRSession to which the input source list change event applies.
|
void |
setAdded(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(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(XRSession session)
The XRInputSourcesChangeEventInit property session specifies the XRSession to which the input source list change event applies.
|
bubbles, cancelable, composed, create, setBubbles, setCancelable, setComposed@JsOverlay @Nonnull static XRInputSourcesChangeEventInit.Builder create(@Nonnull JsArray<XRInputSource> added, @Nonnull JsArray<XRInputSource> removed, @Nonnull XRSession session)
@JsProperty(name="added") @Nonnull JsArray<XRInputSource> added()
@JsProperty
void setAdded(@Nonnull
JsArray<XRInputSource> added)
@JsProperty(name="removed") @Nonnull JsArray<XRInputSource> removed()
@JsProperty
void setRemoved(@Nonnull
JsArray<XRInputSource> removed)
@JsProperty(name="session") @Nonnull XRSession session()
@JsProperty
void setSession(@Nonnull
XRSession session)