Interface ContentProtectionErrorEvent

Fired when an error related to content protection occurs.

interface ContentProtectionErrorEvent {
    date: Date;
    error: string;
    errorObject: ContentProtectionError;
    licenseAcquisitionMessage?: string;
    licenseAcquisitionURL?: string;
    status?: number;
    statusText?: string;
    systemCode?: number;
    type: "contentprotectionerror";
}

Hierarchy (view full)

  • Event<"contentprotectionerror">
    • ContentProtectionErrorEvent

Properties

date: Date

The creation date of the event.

error: string

The error that occurred.

Deprecated

use errorObject.message instead

An error object containing additional information about the error.

licenseAcquisitionMessage?: string

Deprecated

use errorObject.response instead

licenseAcquisitionURL?: string

Deprecated

use errorObject.url instead

status?: number

Deprecated

use errorObject.status instead

statusText?: string

Deprecated

use errorObject.statusText instead

systemCode?: number

Deprecated

use errorObject.systemCode instead

type: "contentprotectionerror"

The type of the event.

Generated using TypeDoc