Amazon Vinyl
    Preparing search index...

    Interface AdTimeUpdateEvent

    interface AdTimeUpdateEvent {
        ad: AdInfo;
        adBreak: AdBreakInfo;
        adCurrentTime: number;
        adTimeRemaining: number | null;
        breakCurrentTime: number;
        breakTimeRemaining: number | null;
        canSkip: boolean;
        index: number;
        skipIn: number | null;
        totalAds: number;
    }

    Hierarchy (View Summary)

    Index
    ad: AdInfo

    The ad that triggered this event.

    adBreak: AdBreakInfo

    The parent ad break

    adCurrentTime: number

    Seconds the current ad has played.

    adTimeRemaining: number | null

    Seconds remaining in the current ad, or null when the ad's duration is unknown.

    breakCurrentTime: number

    Seconds the current ad break has played, summed across all of its ads so far (including the current one).

    breakTimeRemaining: number | null

    Seconds remaining in the current ad break as a whole, or null when the break's total duration is unknown.

    canSkip: boolean

    Whether the current ad may be skipped right now — false while skipping is restricted or the break's skip window has not yet opened. Applications should gate their skip control on this.

    index: number

    The zero-based position of this ad within its break.

    skipIn: number | null

    Seconds until the ad becomes skippable, or null when there is no pending skip window (it is already skippable, or skipping is never offered).

    totalAds: number

    The total number of ads in this break.