VastAdEventCallbacks

Ad-progress callbacks fired during a single VAST (CSAI) ad — the Kotlin mirror of the web VastAdManager callbacks. Quartiles map onto the SDK's existing GAM quartile event stream in OverlayAdRenderer.

Functions

Link copied to clipboard

The VAST ad reached 25%.

Link copied to clipboard
open fun onAdMidpoint()

The VAST ad reached 50%.

Link copied to clipboard
open fun onAdProgress(currentTimeSec: Double, durationSec: Double)

Real ad playback progress during the VAST ad, in seconds (PLAYG-281). Fired on the same 250 ms cadence the IMA AdVideoPlayer already polls the ad ExoPlayer at. OverlayAdRenderer forwards it to the SDK's onAdTimeUpdate so the break countdown ticks from actual playback. Mirrors the web VastAdManager onAdProgress (IMA AD_PROGRESS).

Link copied to clipboard
open fun onAdStarted(podPosition: Int? = null)

podPosition is the 1-based position IMA reports for the ad within its pod (adPodInfo.adPosition, which carries the VAST sequence for pods); null when IMA reports none.

Link copied to clipboard

The VAST ad reached 75%.