Package 

Class BumperComponent

  • All Implemented Interfaces:
    com.brightcove.player.event.Component , com.brightcove.player.event.EventListener

    @ListensFor(events = {play, didSetVideo, seekTo, completed, error, didRemoveVideoStill, didPlay, didExitPictureInPictureMode})@Emits(events = {willResumeContent, bumperCompleted, bumperPlay, bumperDidPlay, bumperDidSetVideo, bumperError}) 
    public final class BumperComponent
    extends AbstractComponent implements EventListener
                        
    • Method Summary

      Modifier and Type Method Description
      final BrightcoveVideoView getBumperVideoView() Through this method the bumper VideoView can be retrieved
      final Unit setVideoBumperID(String videoBumperID) This method sets the bumper ID
      final Unit init()
      Unit processEvent(Event event)
      • Methods inherited from class com.brightcove.player.bumper.BumperComponent

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

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

      • getBumperVideoView

         final BrightcoveVideoView getBumperVideoView()

        Through this method the bumper VideoView can be retrieved

      • setVideoBumperID

         final Unit setVideoBumperID(String videoBumperID)

        This method sets the bumper ID

        Parameters:
        videoBumperID -
        • Bumper video ID or bumper video reference ID