Package 

Class FullScreenController


  • 
    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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

      • isLandscape

         boolean isLandscape()

        Checks if device is in Landscape mode.