Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
A read-only map of key IDs to the current status of the associated key.

Properties

size

readonly size: number

Methods

forEach()

forEach(callbackfn, thisArg?): void

Parameters

callbackfn
(value, key, parent) => void
thisArg?
any

Returns

void

get()

get(keyId): MediaKeyStatus Gets the media key status. For more information, see https://www.w3.org/TR/encrypted-media/#dom-mediakeystatusmap-get.

Parameters

keyId
ArrayBuffer The key ID of the key.

Returns

MediaKeyStatus
Last modified on February 25, 2026