Skip to content

SystemInformation

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

data class SystemInformation(val screenBounds: GlobalBounds, val screenOrientation: Int = Configuration.ORIENTATION_UNDEFINED, val screenDensity: Float, val themeColor: String? = null)

Provides information about the current system.

Parameters

screenBounds the screen bounds in Global coordinates
screenOrientation the current screen orientation
screenDensity current screen density
themeColor application theme color

Constructors

SystemInformation

constructor(screenBounds: GlobalBounds, screenOrientation: Int = Configuration.ORIENTATION_UNDEFINED, screenDensity: Float, themeColor: String? = null)

Parameters
screenBounds the screen bounds in Global coordinates
screenOrientation the current screen orientation
screenDensity current screen density
themeColor application theme color

Properties

screenBounds

val screenBounds: GlobalBounds

Parameters
screenBounds the screen bounds in Global coordinates

screenDensity

val screenDensity: Float

Parameters
screenDensity current screen density

screenOrientation

val screenOrientation: Int

Parameters
screenOrientation the current screen orientation

themeColor

val themeColor: String? = null

Parameters
themeColor application theme color
Clone this wiki locally