Interface MKAdBreak

interface MKAdBreak {
    ads?: MKAd[];
    id: string;
    position: string;
    replaceContentDuration?: number;
    scheduleTime: number;
}

Hierarchy (View Summary)

Properties

ads?: MKAd[]

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.

position: string

Describes the position of the ad break relative to the main content.

The value is either inherited from the corresponding MKAdBreakConfig.position or, for SGAI ad breaks, inferred from the interstitial tag (e.g. 'pre', 'mid', 'post').

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.