Cue interface.

interface Cue {
    endTime: number;
    startTime: number;
    type: "TextCue" | "TextMetadataCue" | "AdCue" | "StreamSourceCue";
}

Hierarchy (view full)

Properties

endTime: number

The time when the cue should be cleared.

startTime: number

The time when the cue should be displayed.

type: "TextCue" | "TextMetadataCue" | "AdCue" | "StreamSourceCue"