package js.html.eme
Available on js
The MediaKeyStatusMap interface of the EncryptedMediaExtensions API is a read-only map of media key statuses by key IDs.
Documentation MediaKeyStatusMap by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
read onlysize:IntReturns the number of key/value pars in the status map.
entries():MediaKeyStatusMapIteratorReturns a new Iterator object containing an array of [key, value] for each element in the status map, in insertion order.
Throws:
null |
DOMError |
|---|
forEach(callback:Dynamic, ?thisArg:Dynamic):VoidCalls callback once for each key-value pair in the status map, in insertion order. If argument is present it will be passed to the callback.
Throws:
null |
DOMError |
|---|
get(keyId:ArrayBufferView):Dynamicget(keyId:ArrayBuffer):DynamicReturns the value associated with the given key, or undefined if there is none.
Throws:
null |
DOMError |
|---|
has(keyId:ArrayBufferView):Boolhas(keyId:ArrayBuffer):BoolReturns a boolean asserting whether a value has been associated with the given key.
keys():MediaKeyStatusMapIteratorReturns a new Iterator object containing keys for each element in the status map, in insertion order.
Throws:
null |
DOMError |
|---|
values():MediaKeyStatusMapIteratorReturns a new Iterator object containing values for each element in the status map, in insertion order.
Throws:
null |
DOMError |
|---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/eme/MediaKeyStatusMap.html