@Emits(events="setMarkers") public class UIManager extends AbstractComponent implements AdPodListener, AdOverlayConfigListener
BaseVideoView
and the BrightcoveMediaController.eventEmitter, listenerTokens| Constructor and Description |
|---|
UIManager(BaseVideoView baseVideoView,
TimelineManager timelineManager)
Instantiates a new Ui manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAdMarkers(java.util.List<java.lang.Long> markerPositions)
Add ad markers.
|
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 UIManager(@NonNull
BaseVideoView baseVideoView,
@NonNull
TimelineManager timelineManager)
baseVideoView - the base video viewtimelineManager - the timeline managerpublic void addAdMarkers(java.util.List<java.lang.Long> markerPositions)
markerPositions - the marker positionspublic void onAdPodStarted(AdPod adPod)
AdPodListeneronAdPodStarted in interface AdPodListeneradPod - the Ad podpublic void onAdPodEnded(AdPod adPod)
AdPodListeneronAdPodEnded in interface AdPodListeneradPod - the Ad podpublic void removeListeners()
AbstractComponentremoveListeners in class AbstractComponentpublic void onAdOverlayConfigChanged(@NonNull
AdOverlayConfig adOverlayConfig)
AdOverlayConfigListenerAdOverlayConfig change.onAdOverlayConfigChanged in interface AdOverlayConfigListeneradOverlayConfig - the ad overlay config