-
- All Implemented Interfaces:
-
com.brightcove.dai.ui.AdOverlayConfigListener
,com.brightcove.player.event.Component
@ListensFor(events = {EventType.AD_PROGRESS})@Emits(events = {}) public class AdOverlayHandler extends AbstractComponent implements AdOverlayConfigListener
-
-
Constructor Summary
Constructors Constructor Description AdOverlayHandler(BaseVideoView baseVideoView, Timeline timeline)
-
Method Summary
Modifier and Type Method Description void
onAdStarted(Ad ad)
void
onAdCompleted(Ad ad)
void
onAdOverlayConfigChanged(@NonNull() AdOverlayConfig adOverlayConfig)
Triggered when there is a AdOverlayConfig change. void
removeListeners()
-
-
Constructor Detail
-
AdOverlayHandler
AdOverlayHandler(BaseVideoView baseVideoView, Timeline timeline)
-
-
Method Detail
-
onAdStarted
void onAdStarted(Ad ad)
-
onAdCompleted
void onAdCompleted(Ad ad)
-
onAdOverlayConfigChanged
void onAdOverlayConfigChanged(@NonNull() AdOverlayConfig adOverlayConfig)
Triggered when there is a AdOverlayConfig change.
- Parameters:
adOverlayConfig
- the ad overlay config
-
removeListeners
void removeListeners()
-
-
-
-