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
|
GLKViewDrawableColorFormat |
colorFormat
the color format, RGB565 is the default
|
GLKViewDrawableDepthFormat |
depthFormat
the depth buffer format, Format16 is default
|
float |
displayScaleLargeScreenIfNonRetina
Scale factor to use on large screens without retina display, i.e.
|
float |
displayScaleLargeScreenIfRetina
Scale factor to use on large screens with retina display, i.e.
|
float |
displayScaleSmallScreenIfNonRetina
Scale factor to use on small screens without retina display, i.e.
|
float |
displayScaleSmallScreenIfRetina
Scale factor to use on small screens with retina display, i.e.
|
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.
|
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.
|
UIRectEdge |
screenEdgesDeferringSystemGestures
Edges where app gestures must be fired over system gestures.
|
boolean |
statusBarVisible
whether the status bar should be visible or not
|
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 GLKViewDrawableColorFormat colorFormat
public GLKViewDrawableDepthFormat depthFormat
public GLKViewDrawableStencilFormat stencilFormat
public GLKViewDrawableMultisample multisample
public int preferredFramesPerSecond
public float displayScaleLargeScreenIfRetina
public float displayScaleSmallScreenIfRetina
public float displayScaleLargeScreenIfNonRetina
public float displayScaleSmallScreenIfNonRetina
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 UIRectEdge screenEdgesDeferringSystemGestures
public int maxNetThreads
Integer.MAX_VALUE
.public boolean useAudio
true
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