public class IOSApplicationConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
float |
accelerometerUpdate
the update interval to poll the accelerometer with, in seconds
|
boolean |
allowIpod
whether or not to allow background music from iPod
|
org.robovm.apple.glkit.GLKViewDrawableColorFormat |
colorFormat
the color format, RGBA8888 is the default
|
org.robovm.apple.glkit.GLKViewDrawableDepthFormat |
depthFormat
the depth buffer format, Format16 is default
|
com.badlogic.gdx.graphics.glutils.HdpiMode |
hdpiMode
This setting allows you to specify whether you want to work in logical or raw pixel units.
|
boolean |
hideHomeIndicator
whether the home indicator should be hidden or not
|
boolean |
keyboardCloseOnReturn
whether or not the onScreenKeyboard should be closed on return key
|
float |
magnetometerUpdate
the update interval to poll the magnetometer with, in seconds
|
int |
maxNetThreads
The maximum number of threads to use for network requests.
|
org.robovm.apple.glkit.GLKViewDrawableMultisample |
multisample
the multisample format, None is default
|
boolean |
orientationLandscape
whether or not landscape orientation is supported.
|
boolean |
orientationPortrait
whether or not portrait orientation is supported.
|
boolean |
overrideRingerSwitch
Whether to override the ringer/mute switch, see https://github.com/libgdx/libgdx/issues/4430
|
int |
preferredFramesPerSecond
number of frames per second, 60 is default
|
boolean |
preventScreenDimming
whether to enable screen dimming.
|
org.robovm.apple.uikit.UIRectEdge |
screenEdgesDeferringSystemGestures
Edges where app gestures must be fired over system gestures.
|
boolean |
statusBarVisible
whether the status bar should be visible or not
|
org.robovm.apple.glkit.GLKViewDrawableStencilFormat |
stencilFormat
the stencil buffer format, None is default
|
boolean |
useAccelerometer
whether to use the accelerometer, default true
|
boolean |
useAudio
whether to use audio or not.
|
boolean |
useCompass
whether to use the compass, default true
|
boolean |
useGL30
Deprecated.
this option is currently experimental and not yet fully supported, expect issues.
|
| Constructor and Description |
|---|
IOSApplicationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIosDevice(java.lang.String classifier,
java.lang.String machineString,
int ppi)
adds device information for newer iOS devices, or overrides information for given ones
|
public boolean preventScreenDimming
public boolean orientationPortrait
public boolean orientationLandscape
public org.robovm.apple.glkit.GLKViewDrawableColorFormat colorFormat
public org.robovm.apple.glkit.GLKViewDrawableDepthFormat depthFormat
public org.robovm.apple.glkit.GLKViewDrawableStencilFormat stencilFormat
public org.robovm.apple.glkit.GLKViewDrawableMultisample multisample
public int preferredFramesPerSecond
public boolean useAccelerometer
public float accelerometerUpdate
public float magnetometerUpdate
public boolean useCompass
public boolean allowIpod
public boolean keyboardCloseOnReturn
@Deprecated public boolean useGL30
Gdx.gl30 can be used to access it's functionality.public boolean statusBarVisible
public boolean hideHomeIndicator
public boolean overrideRingerSwitch
public org.robovm.apple.uikit.UIRectEdge screenEdgesDeferringSystemGestures
public int maxNetThreads
Integer.MAX_VALUE.public boolean useAudio
truepublic com.badlogic.gdx.graphics.glutils.HdpiMode hdpiMode
HdpiMode for more
information. Note that some OpenGL functions like GL20.glViewport(int, int, int, int) and
GL20.glScissor(int, int, int, int) require raw pixel units. Use HdpiUtils to help with the conversion if
HdpiMode is set to HdpiMode.Logical. Defaults to HdpiMode.Logical.public void addIosDevice(java.lang.String classifier,
java.lang.String machineString,
int ppi)
classifier - human readable device classifiermachineString - machine string returned by iOSppi - device's pixel per inch value