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

DeviceDensity

A multiplier that is calculated as the ratio of DPI to the base DPI of the device.

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

Must be positive.

DeviceDensity(value: Float = 0.0f)

A multiplier that is calculated as the ratio of DPI to the base DPI of the device.

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

Must be positive.

Parameters
value
Returns
Properties