API Reference - Device.GetDistanceUnit()
Device.GetDistanceUnit()
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