Package-level declarations

Includes classes which describe a certain Search, Autocomplete or Point of Interest result.

Types

Link copied to clipboard
data class AutocompleteResult(val segments: List<AutocompleteSegment> = emptyList())

Contains a list of results returned by the Autocomplete engine.

Link copied to clipboard

The type of autocomplete result.

Link copied to clipboard

Describes an entity found within the autocomplete search term. An entity is a distinct part of the search term that can be used to generate a query.

Link copied to clipboard

Describes a brand found within the autocomplete search response.

Link copied to clipboard

Describes plain text found within the autocomplete search response.

Link copied to clipboard
data class AutocompleteSegmentPoiCategory(val poiCategory: PoiCategory, val matchedAlternativeName: String = "") : AutocompleteSegment

Describes a Point of Interest category (PoiCategory) found within the autocomplete search response.

Link copied to clipboard
data class PoiDetails(val searchResultId: SearchResultId, val place: Place, val poi: Poi, val boundingBox: GeoBoundingBox? = null)

The details of a Point of Interest (Poi).

Link copied to clipboard
data class SearchResult(val type: SearchResultType, val searchResultId: SearchResultId, val place: Place, val distance: Distance? = null, val poi: Poi? = null, val boundingBox: GeoBoundingBox? = null, val detour: Detour? = null)

Describes the details of a single result item returned by the Search API.

Link copied to clipboard
data class SearchResultId(val id: String, val source: Source, var position: Int? = null, val fuelPriceId: FuelPriceId? = null, val evChargingAvailabilityId: EvChargingAvailabilityId? = null, val parkingDetailId: ParkingDetailId? = null, val geometryId: GeometryId? = null)

Identifier that represents the search result.