Event to signal a timeshift event

interface TimeShiftEvent {
    issuer?: string;
    position: number;
    target: number;
    timestamp: number;
    type: PlayerEvent;
}

Hierarchy (view full)

Properties

issuer?: string

The issuer of this event, as passed into the according API method. 'api' by default if no issuer was specified.

position: number

The position from which we start the timeshift (currentTime before the timeshift)

target: number

The position to which we want to jump for the timeshift ( currentTime after timeshift has completed)

timestamp: number

The time at which this event was fired

Event type, e.g. 'play'