MediaKeyStatusMap.has()

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

The has property of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.

Syntax

var boolean = mediaKeyStatusMap(key)

Parameters

key
The key whose value you want returned

Returns

Boolean.

Specifications

Specification Status Comment
Encrypted Media Extensions Recommendation Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support4213 ? ?29 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4342 Yes ?29 ?4.0

Document Tags and Contributors

 Contributors to this page: fscholz, bunnybooboo, jpmedley
 Last updated by: fscholz,