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

Browser compatibility

BCD tables only load in the browser