reverseGeocoding

abstract fun reverseGeocoding(options: OfflineReverseGeoOptions, executor: Executor, callback: SearchCallback): SearchRequestTask

Performs reverse geocoding search request. Each new search request cancels the previous one if it is still in progress. In this case SearchCallback.onError will be called with SearchCancellationException.

Return

SearchRequestTask object which allows to cancel the request.

Parameters

options

Reverse geocoding options.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Search result callback.

open fun reverseGeocoding(options: OfflineReverseGeoOptions, callback: SearchCallback): SearchRequestTask

Performs reverse geocoding search request. Each new search request cancels the previous one if it is still in progress. In this case SearchCallback.onError will be called with SearchCancellationException.

Return

SearchRequestTask object which allows to cancel the request.

Parameters

options

Reverse geocoding options.

callback

Search result callback, delivers results on the main thread.