-
- All Implemented Interfaces:
-
com.brightcove.player.event.Component
,com.brightcove.ssai.ad.AdPodListener
,com.brightcove.ssai.ui.AdOverlayConfigListener
@ListensFor(events = {EventType.AD_PROGRESS, SSAIEventType.AD_DATA_READY})@Emits(events = {SSAIEventType.CLICK_LINEAR_CREATIVE, SSAIEventType.SKIP_AD, SSAIEventType.AD_CLICKED, EventType.WILL_RESUME_CONTENT}) public class AdOverlayHandler extends AbstractComponent implements AdPodListener, AdOverlayConfigListener
-
-
Method Summary
Modifier and Type Method Description void
onAdPodStarted(AdPod adPod)
Indicates than an Ad pod has started. void
onAdPodEnded(AdPod adPod)
Indicates than an Ad pod has ended. void
onAdOverlayConfigChanged(@NonNull() AdOverlayConfig adOverlayConfig)
Triggered when there is a AdOverlayConfig change. void
removeListeners()
-
-
Method Detail
-
onAdPodStarted
void onAdPodStarted(AdPod adPod)
Indicates than an Ad pod has started.
- Parameters:
adPod
- the Ad pod
-
onAdPodEnded
void onAdPodEnded(AdPod adPod)
Indicates than an Ad pod has ended.
- Parameters:
adPod
- the Ad pod
-
onAdOverlayConfigChanged
void onAdOverlayConfigChanged(@NonNull() AdOverlayConfig adOverlayConfig)
Triggered when there is a AdOverlayConfig change.
- Parameters:
adOverlayConfig
- the ad overlay config
-
removeListeners
void removeListeners()
-
-
-
-