reverseGeocode

Performs a synchronous Reverse Geocoding call using the provided ReverseGeocoderOptions object and delivers the Result by the provided ReverseGeocoderResponse, or a ReverseGeocoderError if the action fails.

Return

The Result contains a ReverseGeocoderResponse if the call succeeds, or a ReverseGeocoderError if it fails.

Parameters

reverseGeocoderOptions

The object containing the data for the Reverse Geocoding call.


abstract fun reverseGeocode(reverseGeocoderOptions: ReverseGeocoderOptions, reverseGeocoderCallback: ReverseGeocoderCallback): Cancellable

Performs an asynchronous Reverse Geocoding call using the provided ReverseGeocoderOptions object and returns the result with the provided ReverseGeocoderCallback.

Parameters

reverseGeocoderOptions

The object containing the data for the Reverse Geocoding call.

reverseGeocoderCallback

The ReverseGeocoderCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed in the main thread.