Interface MKErrorEvent

MKPlayer error event.

Please see MKErrorCode for details on the different errors.

interface MKErrorEvent {
    code: string;
    data?: { [key: string]: any };
    message: string;
    name: string;
    timestamp: number;
    troubleShootLink?: string;
    type: MKPlayerEvent;
}

Hierarchy (View Summary)

Properties

code: string

The error code.

data?: { [key: string]: any }

Additional data

message: string

The error message

name: string

The name of the error

timestamp: number

The timestamp (in milliseconds) when this event was fired.

troubleShootLink?: string

A link to a detailed troubleshooting guide for the current error event.

Event type.