Interface MKVideoDownloadQualityChangeEvent

MKPlayer event base.

interface MKVideoDownloadQualityChangeEvent {
    sourceQuality?: MKQuality;
    sourceQualityId: string;
    targetQuality?: MKQuality;
    targetQualityId: string;
    timestamp: number;
    type: MKPlayerEvent;
}

Hierarchy (View Summary)

Properties

sourceQuality?: MKQuality

Previous quality or null if no quality was set before.

sourceQualityId: string

ID of the previous quality or null if no quality was set before.

targetQuality?: MKQuality

New quality.

targetQualityId: string

ID of the new quality.

timestamp: number

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

Event type.