public abstract class AbstractOnceUxManager extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
protected android.content.Context |
context
The application context.
|
protected com.brightcove.player.onceux.FormatType |
format
The Once data format.
|
protected com.brightcove.player.onceux.ProtocolType |
protocol
The Once protocol.
|
protected android.content.res.Resources |
resources
Enable localization of public facing strings.
|
protected BaseVideoView |
videoView
The SDK base video view.
|
eventEmitter, listenerTokens
Modifier | Constructor and Description |
---|---|
protected |
AbstractOnceUxManager(android.content.Context context,
BaseVideoView videoView,
com.brightcove.player.onceux.ProtocolType protocol,
com.brightcove.player.onceux.FormatType format)
Build a state machine to manage ad metadata through the lifecycle of the video being
controlled by that metadata.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
registerEventHandlers()
Procedural abstraction used to set up the event handlers.
|
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
protected BaseVideoView videoView
protected android.content.Context context
protected com.brightcove.player.onceux.ProtocolType protocol
protected com.brightcove.player.onceux.FormatType format
protected android.content.res.Resources resources
protected AbstractOnceUxManager(android.content.Context context, BaseVideoView videoView, com.brightcove.player.onceux.ProtocolType protocol, com.brightcove.player.onceux.FormatType format)
context
- The Android context.videoView
- The Brightcove video view object.protocol
- The Once protocol.format
- The selected metadata format.