sdk-search / com.tomtom.online.sdk.search.api.fuzzy / FuzzySearchApi

FuzzySearchApi

interface FuzzySearchApi : RxContext

Defines the fuzzy search api.

Functions

cancelSearchIfRunning

abstract fun cancelSearchIfRunning(): Unit

Cancels the current search request

fuzzySearch

abstract fun fuzzySearch(searchQuery: FuzzySearchQuery!, listener: FuzzySearchResultListener!): Unit

Performs search action based on provided SearchQuery object and returns the result with usage of SearchCallback implementation.

abstract fun fuzzySearch(searchQuery: FuzzySearchQuery!): Single<FuzzySearchResponse!>!

Performs reactive search action based on provided SearchQuery object and returns the result to Observers subscribed to returned Observable.

Inheritors

FuzzySearchApiImpl

open class FuzzySearchApiImpl : FuzzySearchApi

Default implementation of the fuzzy search service's api.