@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface XRInputSourcesChangeEventInit
extends EventInit
| 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.
|
default XRInputSourcesChangeEventInit |
added(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.
|
default XRInputSourcesChangeEventInit |
bubbles(boolean bubbles) |
default XRInputSourcesChangeEventInit |
cancelable(boolean cancelable) |
default XRInputSourcesChangeEventInit |
composed(boolean composed) |
static XRInputSourcesChangeEventInit |
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.
|
default XRInputSourcesChangeEventInit |
removed(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.
|
default XRInputSourcesChangeEventInit |
session(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 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)
@JsOverlay @Nonnull default XRInputSourcesChangeEventInit added(@Nonnull JsArray<XRInputSource> added)
@JsProperty(name="removed") @Nonnull JsArray<XRInputSource> removed()
@JsProperty
void setRemoved(@Nonnull
JsArray<XRInputSource> removed)
@JsOverlay @Nonnull default XRInputSourcesChangeEventInit removed(@Nonnull JsArray<XRInputSource> removed)
@JsProperty(name="session") @Nonnull XRSession session()
@JsProperty
void setSession(@Nonnull
XRSession session)
@JsOverlay @Nonnull default XRInputSourcesChangeEventInit session(@Nonnull XRSession session)
@JsOverlay @Nonnull default XRInputSourcesChangeEventInit bubbles(boolean bubbles)
@JsOverlay @Nonnull default XRInputSourcesChangeEventInit cancelable(boolean cancelable)
cancelable in interface EventInit@JsOverlay @Nonnull default XRInputSourcesChangeEventInit composed(boolean composed)