open class OnlineSearchApi : SearchApi
Default TomTom implementation of the entry point to perform a Reverse Geocode search action based on TomTom's Search API.
static val DEFAULT_ONLINE_SEARCH_ENDPOINT: String
The default TomTom Search API endpoint. |
|
static val DEFAULT_ONLINE_SEARCH_SERVICE_API_VERSION: String
The default TomTom 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(autocompleteSpecification: AutocompleteSpecification!): Result<AutocompleteSuggestion!>! open fun autocompleteSearch(autocompleteSpecification: AutocompleteSpecification!, callback: AutocompleteSuggestionCallback!): 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 chargingStationsSearch(specification: ChargingStationsSpecification, callback: ChargingStationsCallback): Unit open fun chargingStationsSearch(specification: ChargingStationsSpecification): Result<ChargingStations!> |
|
open static fun
Creates a new SearchAPI object which will use the provided Search API Key. It uses default values for a Search service endpoint and API version. open static fun create(context: Context, apiKey: String!): SearchApi!
Creates a new SearchAPI object which will use the Search API Key obtained from a parameter. It uses default values for the Search service endpoint and API version. |
|
open fun geometrySearch(query: GeometrySearchQuery!, listener: GeometrySearchResultListener!): Unit open fun geometrySearch(query: GeometrySearchQuery!): Single<GeometrySearchResponse!>! |
|
open fun getAdditionalDataSearchApi(): AdditionalDataSearchApi! |
|
open fun getAlongRouteSearchApi(): AlongRouteSearchApi! |
|
open fun getAutocompleteSearchApi(): AutocompleteSearchApi! |
|
open fun getBatchSearchApi(): BatchSearchApi! |
|
open fun getFuzzySearchApi(): FuzzySearchApi! |
|
open fun getGeometrySearchApi(): GeometrySearchApi! |
|
open fun getPoiCategoriesSearchApi(): PoiCategoriesSearchApi! |
|
open fun getRevgeoSearchApi(): RevGeoSearchApi! |
|
open fun isInternetAvailable(): Boolean |
|
open fun poiCategoriesSearch(query: PoiCategoriesQuery!, listener: PoiCategoriesSearchResultListener!): Unit open fun poiCategoriesSearch(poiCategoriesSpecification: PoiCategoriesSpecification!): Result<MutableList<PoiCategory!>!>! open fun poiCategoriesSearch(specification: PoiCategoriesSpecification!, callback: PoiCategoriesCallback!): Unit open fun poiCategoriesSearch(query: PoiCategoriesQuery!): Single<PoiCategoriesResponse!>! |
|
open fun poiDetailsSearch(specification: PoiDetailsSpecification!): Result<PoiDetails!>! open fun poiDetailsSearch(specification: PoiDetailsSpecification!, callback: PoiDetailsCallback!): Unit |
|
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(fuzzySearchSpecification: FuzzySearchSpecification!): Result<FuzzyOutcome!>! open fun search(fuzzySearchSpecification: FuzzySearchSpecification!, callback: FuzzyOutcomeCallback!): Unit open fun search(searchQuery: FuzzySearchQuery!): Single<FuzzySearchResponse!>! |