NewSearchResultType

Defines the type of a SearchResult. Replaces the SearchResultType enum to provide a more flexible API.

Types

Link copied to clipboard
annotation class Type

Retention policy for the NewSearchResultType.

Properties

Link copied to clipboard
const val ADDRESS: String

Individual residential or business addresses.

Link copied to clipboard
const val BLOCK: String

The block number, specifically for Japan.

Link copied to clipboard
const val COUNTRY: String

Generally recognized countries.

Link copied to clipboard
const val DISTRICT: String

Administrative features smaller than regions but larger than cities.

Link copied to clipboard
const val LOCALITY: String

Official sub-city features like city districts.

Link copied to clipboard
const val NEIGHBORHOOD: String

Colloquial sub-city features, like neighborhoods.

Link copied to clipboard
const val PLACE: String

Typically cities, villages, municipalities, etc.

Link copied to clipboard
const val POI: String

Points of interest. These include restaurants, stores, concert venues, parks, museums, etc.

Link copied to clipboard
const val POSTCODE: String

Postal codes.

Link copied to clipboard
const val REGION: String

Top-level sub-national administrative features, like states or provinces.

Link copied to clipboard
const val STREET: String

Streets.

Link copied to clipboard
const val UNKNOWN: String

Unknown type.