GamEventCallbacks

GAM/IMA quartile callbacks forwarded to the public SDK event stream. The adIndex/totalAds arguments attribute the quartile to a specific ad of a GAM pod (PLAYG-362); null outside per-ad pod reporting.

Functions

Link copied to clipboard
abstract fun onAdFirstQuartile(brk: Break, assetId: String, adIndex: Int? = null, totalAds: Int? = null)

Asset assetId of brk reached 25%; adIndex (0-based) of totalAds for an ad of a GAM pod.

Link copied to clipboard
abstract fun onAdMidpoint(brk: Break, assetId: String, adIndex: Int? = null, totalAds: Int? = null)

Asset assetId of brk reached 50%; adIndex (0-based) of totalAds for an ad of a GAM pod.

Link copied to clipboard
abstract fun onAdThirdQuartile(brk: Break, assetId: String, adIndex: Int? = null, totalAds: Int? = null)

Asset assetId of brk reached 75%; adIndex (0-based) of totalAds for an ad of a GAM pod.