Interface MKPeriodSwitchedEvent

MKPlayer event base.

interface MKPeriodSwitchedEvent {
    sourcePeriod: MKPeriodSwitchObject;
    targetPeriod: MKPeriodSwitchObject;
    timestamp: number;
    type: MKPlayerEvent;
}

Hierarchy (View Summary)

Properties

sourcePeriod: MKPeriodSwitchObject

The previous period information.

targetPeriod: MKPeriodSwitchObject

The next or current period information.

timestamp: number

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

Event type.