MediaKeySession.onmessage
The onmessage
property of the MediaKeySession
is an event handler, fired whenever a MediaKeyMessageEvent
occurs, denoting a message is generated by the content decryption module.
This interface inherits from the ExtendableEvent
interface.
Syntax
MediaKeySession.onmessage = function(MediaKeyMessageEvent) { ... }
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
onmessage |
55 |
79 |
52 |
No |
42 |
12.1 |
43 |
55 |
52 |
42 |
12.2 |
6.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage