Webportal v1

embedded apps

API Reference - Device.GetDistanceUnit()

Device.GetDistanceUnit()

Type Method
Min Privacy Full
wave 2
wave 3
wave 4

Device.GetDistanceUnit()

Description Gets the currently used distance unit.
Response String The distance unit, Possible values are: - km, - miles

Example

1
2
var distanceUnit = Device.GetDistanceUnit()
// distanceUnit = "km"

Appeared in Software version 5.14.11.30