PauseAdResolution

data class PauseAdResolution(val breakInfo: Break, val asset: Asset, val source: String, val mediaType: String)

The resolved pause ad to display: the originating break, its single asset, how the asset is sourced, and whether it is an image or a video. The renderer uses source to decide whether to load the URL directly (static) or fetch + parse the VAST creative first (vast), and mediaType to decide whether to render an image overlay or a muted, play-once video. Mirrors the TS PauseAdResolution.

Constructors

Link copied to clipboard
constructor(breakInfo: Break, asset: Asset, source: String, mediaType: String)

Properties

Link copied to clipboard

The single asset to show.

Link copied to clipboard

The pause break the ad comes from.

Link copied to clipboard

Whether the asset is an image or a video: "image" or "video".

Link copied to clipboard

How the asset is sourced: "static" or "vast".