MediaKeyStatusMap.get()

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The get property of the MediaKeyStatusMap interface returns the value associated with the given key, or undefined if there is none.

Syntax

var value = mediaKeyStatusMap.get(key);

Parameters

key

The key whose value you want returned.

Returns

The value associated with the given key, or undefined.

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeystatusmap-get

Browser compatibility

BCD tables only load in the browser