@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MediaKeyStatusMap")
public class MediaKeyStatusMap
extends JsObject
implements JsIterable<MediaKeyStatusMap.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
MediaKeyStatusMap.Entry |
static interface |
MediaKeyStatusMap.ForEachCallback |
static interface |
MediaKeyStatusMap.ForEachCallback2 |
static interface |
MediaKeyStatusMap.ForEachCallback3 |
| Modifier | Constructor and Description |
|---|---|
protected |
MediaKeyStatusMap() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull JsIterator<MediaKeyStatusMap.Entry> |
entries()
The entries() read-only property of the MediaKeyStatusMap interface returns a new Iterator object, containing an array of [key, value] pairs for each element in the status map, in insertion order.
|
void |
forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback callback)
The forEach property of the MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order.
|
void |
forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback2 callback)
The forEach property of the MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order.
|
void |
forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback3 callback)
The forEach property of the MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order.
|
@JsNullable jsinterop.base.Any |
get(BufferSource keyId)
The get property of the MediaKeyStatusMap interface returns the value associated with the given key, or undefined if there is none.
|
boolean |
has(BufferSource keyId)
The has property of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.
|
@JsNonNull JsIterator<BufferSource> |
keys()
The keys property of the MediaKeyStatusMap interface returns a new Iterator object, containing keys for each element in the status map, in insertion order
|
int |
size()
The size read-only property of the MediaKeyStatusMap interface returns the number of key/value paIrs in the status map.
|
@JsNonNull JsIterator<java.lang.String> |
values()
The values property of the MediaKeyStatusMap interface returns a new Iterator object, containing values for each element in the status map, in insertion order.
|
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="size") public int size()
public @JsNullable jsinterop.base.Any get(@Nonnull
BufferSource keyId)
public boolean has(@Nonnull
BufferSource keyId)
public @JsNonNull JsIterator<BufferSource> keys()
public @JsNonNull JsIterator<java.lang.String> values()
public @JsNonNull JsIterator<MediaKeyStatusMap.Entry> entries()
public void forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback callback)
public void forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback2 callback)
public void forEach(@JsNonNull MediaKeyStatusMap.ForEachCallback3 callback)