Package 

Interface THEOplayerSettings

  • All Implemented Interfaces:

    
    public interface THEOplayerSettings
    
                        

    The THEOplayerSettings API.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean isFullScreenOrientationCoupled() Returns whether fullscreen coupling is on.
      abstract void setFullScreenOrientationCoupled(boolean coupled) Sets whether the orientation of the device and the fullscreen state are coupled.
      abstract int getFullscreenOrientation() Returns which orientation was configured to go to in fullscreen, defaults to -2.
      abstract void setFullscreenOrientation(int orientation) Sets in which ScreenOrientation the player should go into fullscreen.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setFullScreenOrientationCoupled

         abstract void setFullScreenOrientationCoupled(boolean coupled)

        Sets whether the orientation of the device and the fullscreen state are coupled.

        • When this option is set to true, the player will go fullscreen when the device is rotated to landscape and will also exit fullscreen when the device is rotated back to portrait.
        • Note that this has no relation to the orientation in which the player will be in fullscreen. For that, refer to setFullscreenOrientation
        Parameters:
        coupled - Whether coupling is enabled.
      • getFullscreenOrientation

         abstract int getFullscreenOrientation()

        Returns which orientation was configured to go to in fullscreen, defaults to -2.

      • setFullscreenOrientation

         abstract void setFullscreenOrientation(int orientation)

        Sets in which ScreenOrientation the player should go into fullscreen.

        • For values to which the orientation is limited, see ActivityInfo.SCREEN_ORIENTATION_*
        Parameters:
        orientation - The targeted fullscreen orientation.