setScreenDensity

fun setScreenDensity(screenDensity: Int)

Sets the screen density of the device as a scale factor, where 1 means one physical pixel per device-independent pixel. The value is sent with every subsequent event.