public class CompanionAdManager extends AbstractOnceUxManager
context, format, protocol, resources, videoView
eventEmitter, listenerTokens
Constructor and Description |
---|
CompanionAdManager(android.content.Context context,
BaseVideoView videoView)
Build a manager given the Android context, the Brightcove video view and the event emitter.
|
Modifier and Type | Method and Description |
---|---|
void |
addCompanionContainer(android.view.ViewGroup container)
Add a container for showing companion ads.
|
void |
clearCompanionContainers()
Clear all the companion containers.
|
protected void |
registerEventHandlers()
Register the event handlers to deal with a start and end companion ad event.
|
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
public CompanionAdManager(android.content.Context context, BaseVideoView videoView)
context
- The given Android context.videoView
- The given Brightcove video view.public void addCompanionContainer(android.view.ViewGroup container)
container
- The given container to add to the mix.public void clearCompanionContainers()
protected void registerEventHandlers()
registerEventHandlers
in class AbstractOnceUxManager