@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRInputSourceArray")
public class XRInputSourceArray
extends JsObject
implements JsIterable<XRInputSourceArray.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
XRInputSourceArray.Entry |
static interface |
XRInputSourceArray.ForEachCallback |
static interface |
XRInputSourceArray.ForEachCallback2 |
static interface |
XRInputSourceArray.ForEachCallback3 |
| Modifier | Constructor and Description |
|---|---|
protected |
XRInputSourceArray() |
| Modifier and Type | Method and Description |
|---|---|
JsIterator<XRInputSourceArray.Entry> |
entries()
The XRInputSourceArray interface's entries() method returns a JavaScript iterator which can then be used to iterate over the key/value pairs in the input source array.
|
void |
forEach(XRInputSourceArray.ForEachCallback callback)
The XRInputSourceArray method forEach() executes the specified callback once for each input source in the array, starting at index 0 and progressing until the end of the list.
|
void |
forEach(XRInputSourceArray.ForEachCallback2 callback)
The XRInputSourceArray method forEach() executes the specified callback once for each input source in the array, starting at index 0 and progressing until the end of the list.
|
void |
forEach(XRInputSourceArray.ForEachCallback3 callback)
The XRInputSourceArray method forEach() executes the specified callback once for each input source in the array, starting at index 0 and progressing until the end of the list.
|
XRInputSource |
getAt(int index) |
JsIterator<java.lang.Double> |
keys()
The keys() method in the XRInputSourceArray interface returns a JavaScript iterator which can then be used to iterate over the keys used to reference each item in the array of input sources.
|
int |
length()
The read-only length property returns an integer value indicating the number of items in the input source list represented by the XRInputSourceArray object.
|
JsIterator<XRInputSource> |
values()
The XRInputSourceArray method values() returns a JavaScript iterator that can walk over the list of XRInputSource objects contained in the array, from first to last.
|
assign, 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_, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator@JsProperty(name="length") public int length()
@JsOverlay @Nonnull public final XRInputSource getAt(int index)
@Nonnull public JsIterator<java.lang.Double> keys()
@Nonnull public JsIterator<XRInputSource> values()
@Nonnull public JsIterator<XRInputSourceArray.Entry> entries()
public void forEach(@Nonnull
XRInputSourceArray.ForEachCallback callback)
public void forEach(@Nonnull
XRInputSourceArray.ForEachCallback2 callback)
public void forEach(@Nonnull
XRInputSourceArray.ForEachCallback3 callback)