interface SearchApi : RxSearchApi
Defines the TomTom Search API main object. It contains methods to use TomTom's search engine, and it provides support for standard callback calls.
static val DEFAULT_ONLINE_SEARCH_ENDPOINT: String
Default TomTom's Search API endpoint. |
|
static val DEFAULT_ONLINE_SEARCH_SERVICE_API_VERSION: String
Default TomTom's Search API service version. |
abstract fun additionalDataSearch(query: AdditionalDataSearchQuery!, listener: AdditionalDataSearchResultListener!): Unit
Performs an additional data search action based on the provided query object, and returns the result with usage of the callback implementation. |
|
abstract fun alongRouteSearch(query: AlongRouteSearchQuery!, listener: AlongRouteSearchResultListener!): Unit
Performs along route search action based on provided query object and returns the result with usage of callback implementation. |
|
abstract fun autocompleteSearch(query: AutocompleteSearchQuery!, listener: AutocompleteSearchResultListener!): Unit
Performs an Autocomplete search action based on the provided query object, and returns the result using the callback implementation. |
|
abstract fun batchSearch(query: BatchSearchQuery!, listener: BatchSearchResultListener!): Unit
Performs a Batch Search action based on the provided query object, and returns the result with usage of the callback implementation. The number of batch items is limited to 100. |
|
abstract fun cancelSearchIfRunning(): Unit
Cancels all current search requests. |
|
abstract fun geometrySearch(query: GeometrySearchQuery!, listener: GeometrySearchResultListener!): Unit
Performs geometry search action based on provided |
|
abstract fun isInternetAvailable(): Boolean
Checks if the internet is available. |
|
abstract fun poiCategoriesSearch(query: PoiCategoriesQuery!, listener: PoiCategoriesSearchResultListener!): Unit
Performs a POI Categories search action based on the provided query object, and returns the result with usage of the callback implementation. |
|
abstract fun reverseGeocoding(query: ReverseGeocoderSearchQuery!, listener: RevGeoSearchResultListener!): Unit
Performs reverse geocoding search action based on provided |
|
abstract fun search(searchQuery: FuzzySearchQuery!, listener: FuzzySearchResultListener!): Unit
Performs search action based on provided |
abstract fun additionalDataSearch(query: AdditionalDataSearchQuery!): Single<AdditionalDataSearchResponse!>!
Performs a reactive additional data search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable. |
|
abstract fun alongRouteSearch(query: AlongRouteSearchQuery!): Single<AlongRouteSearchResponse!>!
Performs reactive search along route action based on provided query object and returns the result to Observers subscribed to returned Observable. |
|
abstract fun autocompleteSearch(query: AutocompleteSearchQuery!): Single<AutocompleteSearchResponse!>!
Performs a reactive Autocomplete search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable. |
|
abstract fun batchSearch(query: BatchSearchQuery!): Single<BatchSearchResponse!>!
Performs a reactive Batch Search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable. The number of batch items is limited to 100. |
|
abstract fun geometrySearch(query: GeometrySearchQuery!): Single<GeometrySearchResponse!>!
Performs a reactive geometry search action based on the provided query object and returns the result to Observers subscribed to returned Single. |
|
abstract fun poiCategoriesSearch(query: PoiCategoriesQuery!): Single<PoiCategoriesResponse!>!
Performs a reactive POI Categories search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable. |
|
abstract fun reverseGeocoding(query: ReverseGeocoderSearchQuery!): Single<ReverseGeocoderSearchResponse!>!
Performs a reactive reverse geocoding search action based on the provided query object and returns the result to Observers subscribed to returned Single. |
|
abstract fun search(searchQuery: FuzzySearchQuery!): Single<FuzzySearchResponse!>!
Performs a reactive search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable. |
open class OnlineSearchApi : SearchApi
Default TomTom implementation of the entry point to perform a search / reverse geocoding action based on TomTom's Search API. |
|
open class SearchService : Service, SearchApi
TomTom Search API wrapped within Android service. It contains methods to use Tomtom's search engine and it provides support for both: standard callback calls and RxJava2 Observables. It allows to create a single search instance across an application. |