public interface FuzzySearchApi
extends com.tomtom.online.sdk.common.rx.RxContext
Modifier and Type | Method and Description |
---|---|
void |
cancelSearchIfRunning()
Cancels the current search request
|
Single<FuzzySearchResponse> |
fuzzySearch(FuzzySearchQuery searchQuery)
Performs reactive search action based on provided SearchQuery object and returns the result to Observers subscribed to returned Observable.
|
void |
fuzzySearch(FuzzySearchQuery searchQuery,
FuzzySearchResultListener listener)
Performs search action based on provided SearchQuery object and returns the result with usage of SearchCallback implementation.
|
void fuzzySearch(FuzzySearchQuery searchQuery, FuzzySearchResultListener listener)
searchQuery
- The object which contains data necessary to execute search action.listener
- The listener which informs the subscriber when search result is available. It contains SearchResponse object.void cancelSearchIfRunning()
Single<FuzzySearchResponse> fuzzySearch(FuzzySearchQuery searchQuery)
searchQuery
- Object which contains data necessary to execute search action