W3cubDocs

/Web APIs

MediaKeySession.onkeystatuseschange

The onkeystatuseschange property of the MediaKeySession is an event handler, fired whenever a keystatuschange event ocurrs, denoting there has been a change in the keys or their statuses within a session.

This interface inherits from the ExtendableEvent interface.

Syntax

MediaKeySession.onkeystatuseschange = function(keystatuschange) { ... }

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
onkeystatuseschange
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/onkeystatuseschange