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:
Variables
Methods
entries():MediaKeyStatusMapIterator
Returns 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):Void
Calls 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):Dynamic
get(keyId:ArrayBuffer):Dynamic
Returns the value associated with the given key, or undefined
if there is none.
Throws:
null | DOMError |
---|
has(keyId:ArrayBufferView):Bool
has(keyId:ArrayBuffer):Bool
Returns a boolean asserting whether a value has been associated with the given key.
keys():MediaKeyStatusMapIterator
Returns a new Iterator
object containing keys for each element in the status map, in insertion order.
Throws:
null | DOMError |
---|
values():MediaKeyStatusMapIterator
Returns a new Iterator
object containing values for each element in the status map, in insertion order.
Throws:
null | DOMError |
---|