AdCollector

Collects generic data and events regarding ad playback.

If you're using the Google IMA Ads SDK, can use MuxImaAdsListener in our media3-ima lib (TODO: Doc link)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun dispatch(event: AdEvent)
Link copied to clipboard

Call when done playing ads

Link copied to clipboard

Call when playback pauses for ads

Link copied to clipboard

Call when ad playback starts

Properties

Link copied to clipboard

The state of the player as understood by Mux

Link copied to clipboard

The current playback position