public interface RevGeoSearchApi
extends com.tomtom.online.sdk.common.rx.RxContext
Modifier and Type | Method and Description |
---|---|
void |
cancelSearchIfRunning()
Cancels the current reverse geocoding search request.
|
Single<ReverseGeocoderSearchResponse> |
reverseGeocoding(ReverseGeocoderSearchQuery query)
Performs reactive reverse geocoding search action based on provided query object and
returns the result to Observers subscribed to returned Single.
|
void |
reverseGeocoding(ReverseGeocoderSearchQuery query,
RevGeoSearchResultListener listener)
Performs reverse geocoding search action based on provided query object and
returns the result with usage of RevGeoSearchCallback implementation.
|
Single<ReverseGeocoderSearchResponse> reverseGeocoding(ReverseGeocoderSearchQuery query)
query
- The object which contains data necessary to execute search actionvoid reverseGeocoding(ReverseGeocoderSearchQuery query, RevGeoSearchResultListener listener)
query
- The object which contains data necessary to execute search actionlistener
- The listener which informs the subscriber when search result is available.
It contains ReverseGeocoderSearchResponse
object.void cancelSearchIfRunning()