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.
SearchService()
Default constructor for search service. |
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. |
open fun additionalDataSearch(query: AdditionalDataSearchQuery!, listener: AdditionalDataSearchResultListener!): Unit open fun additionalDataSearch(query: AdditionalDataSearchQuery!): Single<AdditionalDataSearchResponse!>! |
|
open fun alongRouteSearch(query: AlongRouteSearchQuery!, listener: AlongRouteSearchResultListener!): Unit open fun alongRouteSearch(query: AlongRouteSearchQuery!): Single<AlongRouteSearchResponse!>! |
|
open fun autocompleteSearch(query: AutocompleteSearchQuery!, listener: AutocompleteSearchResultListener!): Unit open fun autocompleteSearch(query: AutocompleteSearchQuery!): Single<AutocompleteSearchResponse!>! |
|
open fun batchSearch(query: BatchSearchQuery!, listener: BatchSearchResultListener!): Unit open fun batchSearch(query: BatchSearchQuery!): Single<BatchSearchResponse!>! |
|
open fun cancelSearchIfRunning(): Unit |
|
open fun geometrySearch(query: GeometrySearchQuery!, listener: GeometrySearchResultListener!): Unit open fun geometrySearch(query: GeometrySearchQuery!): Single<GeometrySearchResponse!>! |
|
open fun isInternetAvailable(): Boolean |
|
open fun onBind(intent: Intent!): IBinder? |
|
open fun onStartCommand(intent: Intent!, flags: Int, startId: Int): Int |
|
open fun poiCategoriesSearch(query: PoiCategoriesQuery!, listener: PoiCategoriesSearchResultListener!): Unit open fun poiCategoriesSearch(query: PoiCategoriesQuery!): Single<PoiCategoriesResponse!>! |
|
open fun reverseGeocoding(query: ReverseGeocoderSearchQuery!, listener: RevGeoSearchResultListener!): Unit open fun reverseGeocoding(query: ReverseGeocoderSearchQuery!): Single<ReverseGeocoderSearchResponse!>! |
|
open fun search(searchQuery: FuzzySearchQuery!, listener: FuzzySearchResultListener!): Unit open fun search(searchQuery: FuzzySearchQuery!): Single<FuzzySearchResponse!>! |