Package-level declarations

Types

Link copied to clipboard
class MuxImaAdsListener : AdErrorEvent.AdErrorListener, AdEvent.AdEventListener

Listens for AdErrorEvent and AdEvents from an IMA Ads loader.

Functions

Link copied to clipboard

Gets the Ad Tag URL for the AdsConfiguration associated with this MediaItem, if any Returns null if there's no ads configured, or no media item set on the Player

Link copied to clipboard
fun ImaAdsLoader.Builder.monitorWith(muxStats: MuxStatsSdkMedia3<*>, customerAdEventListener: AdEvent.AdEventListener = AdEventListener { }, customerAdErrorListener: AdErrorEvent.AdErrorListener = AdErrorListener { }): ImaAdsLoader.Builder

Monitors the ImaAdsLoader created by the given ImaAdsLoader.Builder.