Class IOSApplicationConfiguration

java.lang.Object
arc.backend.robovm.IOSApplicationConfiguration

public class IOSApplicationConfiguration extends Object
  • Field Details

    • preventScreenDimming

      public boolean preventScreenDimming
      whether to enable screen dimming.
    • orientationPortrait

      public boolean orientationPortrait
      whether or not portrait orientation is supported.
    • orientationLandscape

      public boolean orientationLandscape
      whether or not landscape orientation is supported.
    • colorFormat

      public org.robovm.apple.glkit.GLKViewDrawableColorFormat colorFormat
      the color format, RGB565 is the default
    • depthFormat

      public org.robovm.apple.glkit.GLKViewDrawableDepthFormat depthFormat
      the depth buffer format, Format16 is default
    • stencilFormat

      public org.robovm.apple.glkit.GLKViewDrawableStencilFormat stencilFormat
      the stencil buffer format, None is default
    • multisample

      public org.robovm.apple.glkit.GLKViewDrawableMultisample multisample
      the multisample format, None is default
    • preferredFramesPerSecond

      public int preferredFramesPerSecond
      number of frames per second, 60 is default
    • errorHandler

      @Nullable public Cons<Throwable> errorHandler
      handles any errors in the main loop.
    • useAccelerometer

      public boolean useAccelerometer
      whether to use the accelerometer, default true
    • accelerometerUpdate

      public float accelerometerUpdate
      the update interval to poll the accelerometer with, in seconds
    • keyboardCloseOnReturn

      public boolean keyboardCloseOnReturn
      whether or not the onScreenKeyboard should be closed on return key
    • useGL30

      public boolean useGL30
      Whether to enable OpenGL ES 3 if supported. If not supported it will fall-back to OpenGL ES 2.0. When GLES3 is enabled, Core.gl30 can be used to access its functionality.
    • hideHomeIndicator

      public boolean hideHomeIndicator
      whether the home indicator should be hidden or not
    • screenEdgesDeferringSystemGestures

      public org.robovm.apple.uikit.UIRectEdge screenEdgesDeferringSystemGestures
      Edges where app gestures must be fired over system gestures. Prior to iOS 11, UIRectEdge.All was default behaviour if status bar hidden, see #5110
  • Constructor Details

    • IOSApplicationConfiguration

      public IOSApplicationConfiguration()