Package 

Class UIManager

  • All Implemented Interfaces:
    com.brightcove.player.event.Component , com.brightcove.ssai.ad.AdPodListener , com.brightcove.ssai.ui.AdOverlayConfigListener

    @Emits(events = {}) 
    public class UIManager
    extends AbstractComponent implements AdPodListener, AdOverlayConfigListener
                        

    Class responsible to update the UI elements of the BaseVideoView and the com.brightcove.player.mediacontroller.BrightcoveMediaController.

    • Constructor Summary

      Constructors 
      Constructor Description
      UIManager(BaseVideoView baseVideoView, TimelineManager timelineManager) Instantiates a new Ui manager.
    • Method Summary

      Modifier and Type Method Description
      void addAdMarkers(List<Long> markerPositions) Add ad markers.
      void onAdPodStarted(AdPod adPod) Indicates than an Ad pod has started.
      void onAdPodEnded(AdPod adPod) Indicates than an Ad pod has ended.
      void removeListeners()
      void onAdOverlayConfigChanged(@NonNull() AdOverlayConfig adOverlayConfig) Triggered when there is a AdOverlayConfig change.
      • Methods inherited from class com.brightcove.player.event.AbstractComponent

        addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UIManager

        UIManager(BaseVideoView baseVideoView, TimelineManager timelineManager)
        Instantiates a new Ui manager.
        Parameters:
        baseVideoView - the base video view
        timelineManager - the timeline manager