Unit

class Unit
kotlin.Any
   ↳ kotlin.Enum<androidx.car.cluster.navigation.Distance.Unit>
   ↳ androidx.car.cluster.navigation.Distance.Unit

Possible units used to display this distance.

Summary

Enum values

Display unit is unknown to the consumer, in which case, the distance shouldn't be displayed.

Enum values

FEET

enum val FEET : Distance.Unit

KILOMETERS

enum val KILOMETERS : Distance.Unit

METERS

enum val METERS : Distance.Unit

MILES

enum val MILES : Distance.Unit

UNKNOWN

enum val UNKNOWN : Distance.Unit

Display unit is unknown to the consumer, in which case, the distance shouldn't be displayed.

YARDS

enum val YARDS : Distance.Unit