public interface AdditionalDataSearchApi
extends com.tomtom.online.sdk.common.rx.RxContext
Modifier and Type | Method and Description |
---|---|
Single<AdditionalDataSearchResponse> |
additionalDataSearch(AdditionalDataSearchQuery query)
Performs reactive additional data search action based on provided query object
and returns the result to Observers subscribed to returned Observable.
|
void |
additionalDataSearch(AdditionalDataSearchQuery query,
AdditionalDataSearchResultListener listener)
Performs additional data search action based on provided query object and returns the result with usage of callback implementation.
|
void |
cancelSearchIfRunning()
Cancels the current along route search request.
|
Single<AdditionalDataSearchResponse> additionalDataSearch(AdditionalDataSearchQuery query)
query
- Object which contains data necessary to execute search actionvoid additionalDataSearch(AdditionalDataSearchQuery query, AdditionalDataSearchResultListener listener)
query
- The object which contains data necessary to execute search action.listener
- The callback which informs the subscriber when search result is available.void cancelSearchIfRunning()