@ListensFor(events={"adProgress","adDataReady","controlBarCreated"}) @Emits(events={"clickLinearCreative","skipAd"}) public class AdOverlayHandler extends AbstractComponent implements AdPodListener, AdOverlayConfigListener
eventEmitter, listenerTokens| Modifier and Type | Method and Description |
|---|---|
void |
onAdOverlayConfigChanged(AdOverlayConfig adOverlayConfig)
Triggered when there is a
AdOverlayConfig change. |
void |
onAdPodEnded(AdPod adPod)
Indicates than an Ad pod has ended.
|
void |
onAdPodStarted(AdPod adPod)
Indicates than an Ad pod has started.
|
void |
removeListeners()
Removes all set listeners from the EventEmitter.
|
addListener, addOnceListener, getEventEmitter, removeListenerpublic void onAdPodStarted(AdPod adPod)
AdPodListeneronAdPodStarted in interface AdPodListeneradPod - the Ad podpublic void onAdPodEnded(AdPod adPod)
AdPodListeneronAdPodEnded in interface AdPodListeneradPod - the Ad podpublic void onAdOverlayConfigChanged(@NonNull
AdOverlayConfig adOverlayConfig)
AdOverlayConfigListenerAdOverlayConfig change.onAdOverlayConfigChanged in interface AdOverlayConfigListeneradOverlayConfig - the ad overlay configpublic void removeListeners()
AbstractComponentremoveListeners in class AbstractComponent