public interface SearchApi extends RxSearchApi
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ONLINE_SEARCH_ENDPOINT
Default TomTom's Search API endpoint.
|
static java.lang.String |
DEFAULT_ONLINE_SEARCH_SERVICE_API_VERSION
Default TomTom's Search API service version.
|
Modifier and Type | Method and Description |
---|---|
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 |
alongRouteSearch(AlongRouteSearchQuery query,
AlongRouteSearchResultListener listener)
Performs along route search action based on provided query object
and returns the result with usage of callback implementation.
|
void |
batchSearch(BatchSearchQuery query,
BatchSearchResultListener listener)
Performs batch search action based on provided query object
and returns the result with usage of callback implementation.
|
void |
cancelSearchIfRunning()
Cancels all current search requests.
|
void |
geometrySearch(GeometrySearchQuery query,
GeometrySearchResultListener listener)
Performs geometry search action based on provided
GeometrySearchQuery object
and returns the result with usage of GeometrySearchResultListener implementation. |
boolean |
isInternetAvailable()
Checks if the internet is available.
|
void |
reverseGeocoding(ReverseGeocoderSearchQuery query,
RevGeoSearchResultListener listener)
Performs reverse geocoding search action based on provided
ReverseGeocoderSearchQuery object
and returns the result with usage of RevGeoSearchResultListener implementation. |
void |
search(FuzzySearchQuery searchQuery,
FuzzySearchResultListener listener)
Performs search action based on provided
FuzzySearchQuery object and
returns the result with usage of FuzzySearchResultListener implementation. |
additionalDataSearch, alongRouteSearch, batchSearch, geometrySearch, reverseGeocoding, search
static final java.lang.String DEFAULT_ONLINE_SEARCH_ENDPOINT
static final java.lang.String DEFAULT_ONLINE_SEARCH_SERVICE_API_VERSION
void search(FuzzySearchQuery searchQuery, FuzzySearchResultListener listener)
FuzzySearchQuery
object and
returns the result with usage of FuzzySearchResultListener
implementation.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 FuzzySearchResponse
object.void reverseGeocoding(ReverseGeocoderSearchQuery query, RevGeoSearchResultListener listener)
ReverseGeocoderSearchQuery
object
and returns the result with usage of RevGeoSearchResultListener
implementation.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
objectvoid geometrySearch(GeometrySearchQuery query, GeometrySearchResultListener listener)
GeometrySearchQuery
object
and returns the result with usage of GeometrySearchResultListener
implementation.query
- The object which contains data necessary to execute search actionlistener
- The listener which informs the subscriber when search result is available. It contains Response objectvoid alongRouteSearch(AlongRouteSearchQuery query, AlongRouteSearchResultListener 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 additionalDataSearch(AdditionalDataSearchQuery query, AdditionalDataSearchResultListener listener)
query
- The object which contains data necessary to execute additional data search action.listener
- The callback which informs the subscriber when search result is available.void batchSearch(BatchSearchQuery query, BatchSearchResultListener listener)
query
- The object which contains data necessary to execute batch search action.listener
- The callback which informs the subscriber when search result is available.boolean isInternetAvailable()
void cancelSearchIfRunning()