monitorWith
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.
Mux must take ownership of the AdErrorListener and AdEventListener for this ads loader, but you can provide your own listeners and logic using the provided optional params
Parameters
muxStats
The MuxStatsSdkMedia3 instance monitoring your player
customerAdEventListener
Optional. An AdEventListener with your apps custom ad-event handling
customerAdErrorListener
Optional. An AdErrorListener containing your app's ad-error handling