ImaVastAdManager
class ImaVastAdManager(context: Context, adUiContainer: ViewGroup, adPlayer: ExoPlayer) : VastAdManager
Real IMA client-side VastAdManager. Drives AdsLoader.requestAds with the VAST tag URL, renders via an AdVideoPlayer backed by the SDK's ad ExoPlayer, and maps IMA AdEvent/AdErrorEvent to VastAdEventCallbacks
the suspending completion.
Functions
Link copied to clipboard
Request, render, and play adTagUrl; suspends until complete, throws on error.
Link copied to clipboard
The tag currently warmed and waiting, or null.
Link copied to clipboard
Phase 1 of the two-phase path: fetch, parse and init() the ad for adTagUrl WITHOUT starting it. Suspends until IMA has an AdsManager ready to play.
Link copied to clipboard
Phase 2: start the ad warmed by preloadVast. Suspends until complete, like playVast, and throws if nothing is warmed.