public class PlayerOptionsButtonController extends AbstractButtonController
AbstractButtonController.VisibilityDEFAULT_AUDIO_TRACKS_BUTTON_ID, DEFAULT_CAPTIONS_BUTTON_ID, DEFAULT_FAST_FORWARD_BUTTON_ID, DEFAULT_FULL_SCREEN_BUTTON_ID, DEFAULT_LIVE_BUTTON_ID, DEFAULT_PLAY_BUTTON_ID, DEFAULT_REWIND_BUTTON_ID, DEFAULT_SEEK_BUTTON_ID, properties, stateList, videoVieweventEmitter, listenerTokens| Constructor and Description |
|---|
PlayerOptionsButtonController(android.content.Context context,
BaseVideoView videoView,
BrightcoveControlBar controlBar,
android.graphics.Typeface font)
Builds a complete controller.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getManagedState()
Obtains the managed state information.
|
int |
getVisibilityState()
Gets the maintained visibility state for a button.
|
getButton, getEventEmitter, getFont, getId, getProperties, getStateList, onBack, onDpadCenter, onDpadDown, onDpadLeft, onDpadRight, onDpadUp, onFastForward, onHome, onMenu, onPause, onPlay, onPlayPause, onRewind, onSkipBackward, onSkipForward, setVisibility, syncStatesaddListener, addOnceListener, removeListener, removeListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveListenerspublic PlayerOptionsButtonController(android.content.Context context,
BaseVideoView videoView,
BrightcoveControlBar controlBar,
android.graphics.Typeface font)
context - The given Android application context.videoView - The SDK video view used, possibly, to determine managed state asssociated with the button.controlBar - The layout widget to which the button will be added.font - the fontpublic int getManagedState()
ButtonControllerpublic int getVisibilityState()
AbstractButtonControllergetVisibilityState in interface ButtonControllergetVisibilityState in class AbstractButtonControllerButtonController.getVisibilityState()