public class PictureInPictureButtonController extends AbstractButtonController
AbstractButtonController.Visibility
DEFAULT_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, videoView
eventEmitter, listenerTokens
Constructor and Description |
---|
PictureInPictureButtonController(android.content.Context context,
BaseVideoView videoView,
BrightcoveControlBar controlBar,
android.graphics.Typeface font,
android.os.Bundle bundle)
Builds a picture in picture button controller object.
|
Modifier and Type | Method and Description |
---|---|
int |
getManagedState()
Implements a getter for the managed video state.
|
int |
getVisibilityState()
Gets the maintained visibility state for a button.
|
getButton, getEventEmitter, getFont, getId, getProperties, getStateList, onAccessibilityStateChanged, onBack, onDpadCenter, onDpadDown, onDpadLeft, onDpadRight, onDpadUp, onFastForward, onHome, onMenu, onPause, onPlay, onPlayPause, onRewind, onSkipBackward, onSkipForward, setVisibility, syncStates
addListener, addOnceListener, removeListener, removeListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
removeListeners
public PictureInPictureButtonController(android.content.Context context, BaseVideoView videoView, BrightcoveControlBar controlBar, android.graphics.Typeface font, android.os.Bundle bundle)
context
- The Android application context.videoView
- the SDK video view object.controlBar
- The button widget parent view.font
- The, possibly null, typeface for the button.public int getManagedState()
ButtonController.getManagedState()
public int getVisibilityState()
AbstractButtonController
getVisibilityState
in interface ButtonController
getVisibilityState
in class AbstractButtonController
ButtonController.getVisibilityState()