Gem Util
object GemUtil
Public sdk util methods.
Functions
Link copied to clipboard
fun fillLandmarkAddressInfo(mapView: MapView?, landmark: Landmark, fillCountryInfo: Boolean = false)
Fill landmark address info
Link copied to clipboard
Format landmark details
Link copied to clipboard
Format landmark name
Link copied to clipboard
Formats given bytes size as text
Link copied to clipboard
Get path inside app external files dir folder
Link copied to clipboard
Calculates distance Between 2 points. If any provided point is null 0.0 will be returned
Link copied to clipboard
fun getDistText(meters: Int, unitsSystem: EUnitSystem, bHighResolution: Boolean = false, bCapitalizeUnit: Boolean = false): Pair<String, String>
Formats the given meters distance as pair of (value, unit).
Link copied to clipboard
Link copied to clipboard
Get landmark description
Link copied to clipboard
Returns first largest area area found in the provided list.
Link copied to clipboard
Formats the given meters per seconds speed as pair of (value, unit).
Link copied to clipboard
Link copied to clipboard
Calculates traffic events delay for given route.
Link copied to clipboard
Return ball image based on given route's traffic delay.
Link copied to clipboard
Retrieve a TTS string from LocalizationManager based on given string id.
Link copied to clipboard
Retrieve an UI string from LocalizationManager based on given string id.
Link copied to clipboard