-
public final class FullScreenController
The default Brightcove enter/exit full screen 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 FullScreenController(BaseVideoView videoView)
Builds a controller to manage entering and exiting full screen mode for a given video view.
-
Method Summary
Modifier and Type Method Description boolean
isFullScreen()
Obtains the full screen mode from the controller's perspective. boolean
isFullScreenPortraitMode()
Checks if device is in fullscreen and portrait mode. boolean
isLandscape()
Checks if device is in Landscape mode. -
-
Constructor Detail
-
FullScreenController
FullScreenController(BaseVideoView videoView)
Builds a controller to manage entering and exiting full screen mode for a given video view.- Parameters:
videoView
- The non-null SDK video view object, one that has an event emitter.
-
-
Method Detail
-
isFullScreen
boolean isFullScreen()
Obtains the full screen mode from the controller's perspective.
-
isFullScreenPortraitMode
boolean isFullScreenPortraitMode()
Checks if device is in fullscreen and portrait mode.
-
isLandscape
boolean isLandscape()
Checks if device is in Landscape mode.
-
-
-
-