Package com.tomtom.sdk.search.client.fuzzy

Types

Link copied to clipboard
interface FuzzySearchCallback : Callback<FuzzySearchResponse, FuzzySearchError>

Callback that informs about a received FuzzySearchResponse or respective FuzzySearchError.

Link copied to clipboard
class FuzzySearchError(val message: String = "") : SearchError

Error related to obtaining the result from Fuzzy Search API. Contains information about the cause of the failure.

Link copied to clipboard
data class FuzzySearchOptions(    val query: String,     val typeAhead: Boolean? = null,     @IntRange(from = 1, to = 100) val limit: Int = DEFAULT_LIMIT,     val offset: Int? = null,     val countrySet: Set<String> = emptySet(),     val position: GeoCoordinate? = null,     val radius: Int? = null,     val boundingBox: GeoBoundingBox? = null,     val language: String? = null,     val extendedPostalCodes: List<IndexType> = emptyList(),     val minFuzzyLevel: Int? = null,     val maxFuzzyLevel: Int? = null,     val idx: Set<IndexType> = emptySet(),     val categorySet: Set<CategoryId> = emptySet(),     val brandSet: Set<String> = emptySet(),     val connectorSet: Set<String> = emptySet(),     val minPowerKW: Double? = null,     val maxPowerKW: Double? = null,     val fuelSet: Set<FuelType> = emptySet(),     val geopoliticalView: String? = null,     val openingHours: OpeningHoursMode? = null,     val mapCodes: Set<MapCodeType> = emptySet(),     val relatedPois: RequestedPoiRelationType? = null,     val entityTypeSet: Set<EntityType> = emptySet(),     val category: Boolean? = null)

Defines the parameters of a Fuzzy Search.

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

Response from the Fuzzy Search API.