MediaKeySession.onmessage

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

The onmessage property of the MediaKeySession is an event handler, fired whenever a MediaKeyMessageEvent ocurrs, denoting a message is generated by the content decryption module.

This interface inherits from the ExtendableEvent interface.

Syntax

MediaKeySession.onmessage = function(MediaKeyMessageEvent) { ... }

Specifications

Specification Status Comment
Unknown
The definition of 'onmessage' in that specification.
Unknown Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support55 ? ? ?42 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4355 Yes ?42 ?6.0

Document Tags and Contributors

Contributors to this page: connorshea, david_ross, jpmedley
Last updated by: connorshea,