-
public final class SystemInformationProvides information about the current system.
-
-
Field Summary
Fields Modifier and Type Field Description private final GlobalBoundsscreenBoundsprivate final IntegerscreenOrientationprivate final FloatscreenDensityprivate final StringthemeColor
-
Constructor Summary
Constructors Constructor Description SystemInformation(GlobalBounds screenBounds, Integer screenOrientation, Float screenDensity, String themeColor)
-
Method Summary
Modifier and Type Method Description final GlobalBoundsgetScreenBounds()final IntegergetScreenOrientation()final FloatgetScreenDensity()final StringgetThemeColor()-
-
Constructor Detail
-
SystemInformation
SystemInformation(GlobalBounds screenBounds, Integer screenOrientation, Float screenDensity, String themeColor)
- Parameters:
screenBounds- the screen bounds in Global coordinatesscreenOrientation- the current screen orientationscreenDensity- current screen densitythemeColor- application theme color
-
-
Method Detail
-
getScreenBounds
final GlobalBounds getScreenBounds()
-
getScreenOrientation
final Integer getScreenOrientation()
-
getScreenDensity
final Float getScreenDensity()
-
getThemeColor
final String getThemeColor()
-
-
-
-