SystemInformation - DataDog/dd-sdk-android GitHub Wiki

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