ru.dgis.sdk.map.DeviceDensity | Android SDK | Urbi Documentation
Android SDK

DeviceDensity

Multiplier calculated as the ratio of DPI to the base DPI of the device.

For Android, it corresponds to resources.displayMetrics.density. For iOS, it corresponds to nativeScale.

Must be positive.

DeviceDensity(value: Float = 0.0f)

Multiplier calculated as the ratio of DPI to the base DPI of the device.

For Android, it corresponds to resources.displayMetrics.density. For iOS, it corresponds to nativeScale.

Must be positive.

Parameters
value
Returns
Properties