LocalitiesTypes

Contains the type of the localities suggestion.

Entries

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

includes locality names (from city to village) and suburbs

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

publicly-used postal codes around the world

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

most commonly used administrative areas

Link copied to clipboard
@SerializedName(value = "airport")
Airport

includes all medium sized to international sized airports

Link copied to clipboard
@SerializedName(value = "train_station")
TrainStation

includes all train stations

Link copied to clipboard
@SerializedName(value = "metro_station")
MetroStation

includes all metro stations

Link copied to clipboard
@SerializedName(value = "shopping")
Shopping

includes shopping malls (or "shopping centers") - may include private retail brands

Link copied to clipboard
@SerializedName(value = "museum")
Museum

includes museums

Link copied to clipboard
@SerializedName(value = "zoo")
Zoo

includes zoos

Link copied to clipboard
@SerializedName(value = "amusement_park")
AmusementPark

includes amusement parks like Disneyland Paris

Link copied to clipboard
@SerializedName(value = "art_gallery")
ArtGallery

includes art galleries

Link copied to clipboard
@SerializedName(value = "tourist_attraction")
TouristAttraction

includes tourist attractions like the Eiffel tower

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

countries as whole point of interest

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

addresses (only available for UK and France)

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

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

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.