Package com.tomtom.sdk.search.client.search
Types
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 countryCodeSet: Set<String> = emptySet(), val geoBias: GeoCoordinate? = null, val searchAreas: Set<Geometry> = emptySet(), val locale: Locale? = null, @IntRange(from = 1, to = 4) val fuzzyLevel: Int = 2, val resultTypeSet: Set<SearchResultType> = emptySet(), val categorySet: Set<CategoryId> = emptySet(), val brandSet: Set<Brand> = emptySet(), val connectorSet: Set<ConnectorType> = emptySet(), val minPowerKW: Double? = null, val maxPowerKW: Double? = null, val fuelSet: Set<FuelType> = emptySet(), val geoPoliticalView: GeoPoliticalView? = null, val openingHours: OpeningHoursMode? = null, val sessionId: String = "")
Content copied to clipboard
Defines the parameters of a Fuzzy Search.
Link copied to clipboard
data class SearchResponse(val summary: SearchRequestSummary, val results: List<SearchResult>? = emptyList())
Content copied to clipboard
Response from the Fuzzy Search API.