-
- 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BumperComponent.Builder
Builder to configure the BumperComponent
public class
BumperComponent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final EventEmitter
eventEmitter
private final Map<String, Integer>
listenerTokens
-
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)
-
-
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
-
processEvent
Unit processEvent(Event event)
-
-
-
-