UnitType

Unit type for voice and visual information. Note that this won't change other results such as raw distance measurements which will always be returned in meters.

Parameters

value

String representation of the unit type

Entries

Link copied to clipboard

Imperial unit type.

Link copied to clipboard

Metric unit type.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): UnitType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.