interface AdBreak {
    ads?: Ad[];
    id: string;
    replaceContentDuration?: number;
    scheduleTime: number;
}

Hierarchy (view full)

Properties

ads?: Ad[]

The ads scheduled for this AdBreak.

id: string

The id of the corresponding AdBreakConfig. If the AdBreak was generated out of a VMAP tag, then the ID present in the VMAP tag will be taken. If none is present in the VMAP tag, it will be generated.

replaceContentDuration?: number

Specifies how many seconds the ad break(s) should replace of the main video content.

scheduleTime: number

The time in seconds in the media timeline the AdBreak is scheduled for.