Interface VerizonMediaAds

The Verizon Media ads API.

interface VerizonMediaAds {
    adBreaks: VerizonMediaAdBreakList;
    currentAdBreak: undefined | VerizonMediaAdBreak;
    currentAds: VerizonMediaAdList;
    skip(): void;
}

Properties

List of ad breaks.

currentAdBreak: undefined | VerizonMediaAdBreak

The currently playing ad break.

currentAds: VerizonMediaAdList

The currently playing ads.

Remarks


- These will always be part of the current ad break.

Methods

  • Seek to the end of the ad if it is skippable.

    Returns void

    Remarks


    - The ad is skippable when it is currently playing and the ad break's offset is reached.

Generated using TypeDoc