files/en-us/web/api/mediakeystatusmap/get/index.md
{{APIRef("Encrypted Media Extensions")}}{{SecureContext_Header}}
The get() method of the {{domxref("MediaKeyStatusMap")}} interface returns the status value associated with the given key, or undefined if there is none.
The status value indicates whether or not the specific key can be used for decryption.
get(key)
key
A string specifying the status value associated with the given key, or undefined.
The following status values are allowed:
usable
expired
released
output-restricted
output-downscaled
usable-in-future
status-pending
internal-error
{{Specifications}}
{{Compat}}