-
- All Implemented Interfaces:
-
com.brightcove.player.accessibility.AccessibilityListener
,com.brightcove.player.event.Component
,com.brightcove.player.mediacontroller.buttons.ButtonController
,com.brightcove.player.mediacontroller.buttons.RemoteControlKeyState
public class FullScreenButtonController extends AbstractButtonController
The default Brightcove fullScreen controller. This class is responsible for putting the video view into full screen mode and taking it out of full screen mode in response to programattic (via SDK events) or user interactions (button clicks).
-
-
Constructor Summary
Constructors Constructor Description FullScreenButtonController(Context context, BaseVideoView videoView, BrightcoveControlBar controlBar, Typeface font)
Builds a button controller to manage the full screen button.
-
Method Summary
Modifier and Type Method Description int
getManagedState()
Implements a getter for the managed video state. int
getVisibilityState()
Gets the maintained visibility state for a button. -
Methods inherited from class com.brightcove.player.mediacontroller.buttons.AbstractButtonController
getButton, getEventEmitter, getFont, getId, getProperties, getStateList, onAccessibilityStateChanged, onBack, onDpadCenter, onDpadDown, onDpadLeft, onDpadRight, onDpadUp, onFastForward, onHome, onMenu, onPause, onPlay, onPlayPause, onRewind, onSkipBackward, onSkipForward, setVisibility, syncStates
-
Methods inherited from class com.brightcove.player.event.AbstractComponent
addListener, addOnceListener, removeListener, removeListeners
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FullScreenButtonController
FullScreenButtonController(Context context, BaseVideoView videoView, BrightcoveControlBar controlBar, Typeface font)
Builds a button controller to manage the full screen button.- Parameters:
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.
-
-
Method Detail
-
getManagedState
int getManagedState()
Implements a getter for the managed video state.
-
getVisibilityState
int getVisibilityState()
Gets the maintained visibility state for a button. Defaults to View.VISIBLE but can be overridden based onevents. An example is the caption button.
-
-
-
-