Table of Contents

Class MediaKeyMessageEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

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

[Value("MediaKeyMessageEvent")]
public class MediaKeyMessageEvent : Event
Inheritance
MediaKeyMessageEvent
Inherited Members

Remarks

Constructors

MediaKeyMessageEvent()

public MediaKeyMessageEvent()

MediaKeyMessageEvent(string, MediaKeyMessageEventInit)

The MediaKeyMessageEvent constructor creates a new MediaKeyMessageEvent object.

public MediaKeyMessageEvent(string type, MediaKeyMessageEventInit eventInitDict)

Parameters

type string
eventInitDict MediaKeyMessageEventInit

Remarks

Properties

Message

The MediaKeyMessageEvent.message read-only property
returns an ArrayBuffer with a message from the content decryption module.
Messages vary by key system.

[Value("message")]
public ArrayBuffer Message { get; }

Property Value

ArrayBuffer

An ArrayBuffer.

Remarks

MessageType

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("messageType")]
public MediaKeyMessageType MessageType { get; }

Property Value

MediaKeyMessageType

One of the following:

Remarks