W3cubDocs

/Haxe JavaScript

MediaKeyMessageEvent

package js.html.eme

extends Event

Available on js

The MediaKeyMessageEvent interface of the EncryptedMediaExtensions API contains the content and related data when the content decryption module generates a message for the session.

Documentation MediaKeyMessageEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(type:String, eventInitDict:MediaKeyMessageEventInit)

Throws:

null

DOMError

Variables

read onlymessage:ArrayBuffer

Returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system.

read onlymessageType:MediaKeyMessageType

Indicates the type of message. May be one of license-request, license-renewal, license-renewal, or individualization-request.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/eme/MediaKeyMessageEvent.html