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

Specification
Encrypted Media Extensions
# dom-mediakeysession-onkeystatuseschange

Browser compatibility

BCD tables only load in the browser