Interface OmakaseVttFile<T>

interface OmakaseVttFile<T> {
    get cues(): T[];
    get extensionVersion(): undefined | V1_0;
    get hasCues(): boolean;
    findCue(time: number): undefined | T;
    findCues(startTime: number, endTime: undefined | number): T[];
}

Type Parameters

Hierarchy (view full)

Implemented by

Accessors

Methods

  • Parameters

    • startTime: number
    • endTime: undefined | number

    Returns T[]

    cues that intersect given time frame