LocalitiesTypesEnum

Contains the type of the localities suggestion.

Entries

Link copied to clipboard
@SerializedName(value = "country")
Country

countries as whole point of interest

Link copied to clipboard
@SerializedName(value = "admin_level")
AdminLevel

most commonly used administrative areas

Link copied to clipboard
@SerializedName(value = "postal_code")
PostalCode

publicly-used postal codes around the world

Link copied to clipboard
@SerializedName(value = "address")
Address

addresses (only available for UK and France)

Link copied to clipboard
@SerializedName(value = "route")
Route
Link copied to clipboard
@SerializedName(value = "locality")
Locality

includes locality names (from city to village) and suburbs

Link copied to clipboard
@SerializedName(value = "city")
City
Link copied to clipboard
@SerializedName(value = "town")
Town
Link copied to clipboard
@SerializedName(value = "village")
Village
Link copied to clipboard
@SerializedName(value = "hamlet")
Hamlet
Link copied to clipboard
@SerializedName(value = "borough")
Borough
Link copied to clipboard
@SerializedName(value = "suburb")
Suburb
Link copied to clipboard
@SerializedName(value = "quarter")
Quarter
Link copied to clipboard
@SerializedName(value = "neighbourhood")
Neighbourhood

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val value: String

Functions

Link copied to clipboard
open override fun toString(): String

Override toString() to avoid using the enum variable name as the value, and instead use the actual value defined in the API spec file.

Link copied to clipboard

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.