Interface VerizonMediaAdBreak

Represents a Verizon Media ad.

interface VerizonMediaAdBreak {
    ads: VerizonMediaAdList;
    duration: undefined | number;
    endTime: undefined | number;
    skipOffset: number;
    startTime: number;
    addEventListener<TType>(type, listener): void;
    removeEventListener<TType>(type, listener): void;
}

Hierarchy (view full)

Properties

List of ads in the ad break.

duration: undefined | number

The duration of the ad break, in seconds.

Remarks


- For channels it can return undefined when the duration has not yet been signaled.

endTime: undefined | number

The end time of the ad break, in seconds.

Remarks


- For channels it can return undefined when the end time has not yet been signaled.

skipOffset: number

Offset after which the ad break may be skipped, in seconds.

Remarks

If the offset is -1, the ad is unskippable. If the offset is 0, the ad is immediately skippable. Otherwise it must be a positive number indicating the offset. Skipping the ad in live streams is unsupported.

Example

To be able to skip the first ad after 10 seconds use: 10.

Default Value

The VerizonMediaConfiguration.defaultSkipOffset.

startTime: number

The start time of the ad break, in seconds.

Methods