MediaKeyMessageEvent: messageType property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The MediaKeyMessageEvent.messageType read-only property indicates the type of message. It may be one of license-request, license-renewal, license-release, or individualization-request.

Value

One of the following:

  • license-request
  • license-renewal
  • license-release
  • individualization-request

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeymessageevent-messagetype

Browser compatibility

BCD tables only load in the browser