ru.dgis.sdk.map.DeviceDensity | Android SDK | 2GIS Documentation

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