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

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.

Parameters

searchQuery - FuzzySearchQuery!: The object which contains data necessary to execute search action.

listener - FuzzySearchResultListener!: The listener which informs the subscriber when search result is available. It contains SearchResponse object.

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.

Parameters

searchQuery - FuzzySearchQuery!: Object which contains data necessary to execute search action

Return
Single<FuzzySearchResponse!>!: SearchResponse's Observable object.