Package-level declarations

Types

Link copied to clipboard
annotation class ExperimentalSearchApi
Link copied to clipboard
interface Search : AutoCloseable

Interface of the search API.

Link copied to clipboard

Callback that reports when a SearchResponse or SearchError has been received.

Link copied to clipboard
data class SearchOptions(val query: String = "", @IntRange(from = 1, to = 100) val limit: Int = 10, @IntRange(from = 0, to = 1900) val offset: Int = 0, val countryCodes: Set<String> = emptySet(), val geoBias: GeoPoint? = null, @Size(min = 0, max = 50) val searchAreas: Set<Geometry> = emptySet(), val locale: Locale? = null, @IntRange(from = 1, to = 4) val fuzzyLevel: Int = 2, val resultTypes: Set<ResultType> = emptySet(), val categoryIds: Set<CategoryId> = emptySet(), val brands: Set<Brand> = emptySet(), val connectors: Set<ConnectorType> = emptySet(), val minPower: Power? = null, val maxPower: Power? = null, val fuelTypes: Set<FuelType> = emptySet(), val geoPoliticalView: GeoPoliticalView? = null, val openingHoursMode: OpeningHoursMode? = null, val sessionId: String = "")

Defines the parameters of a Fuzzy Search.

Link copied to clipboard
data class SearchResponse(val summary: SearchRequestSummary, val results: List<SearchResult> = emptyList())

Response from the Search API.