MediaKeyMessageEvent.messageType

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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.

Syntax

var messageType = mediaKeyMessageEvent.messageType;

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeymessageevent-messagetype

Browser compatibility

BCD tables only load in the browser