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 Status Comment
Encrypted Media Extensions
The definition of 'onkeystatuseschange' in that specification.
Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser