getDistance

fun getDistance(unit: DistanceUnit = DistanceUnit.CM): Double

Returns the last cached distance converted to the requested unit.