reverseGeocode
open override fun reverseGeocode(options: ReverseGeocoderOptions): Result<ReverseGeocoderResponse, SearchFailure>
Performs a synchronous Reverse Geocoding call using the provided ReverseGeocoderOptions object and delivers the Result by the provided ReverseGeocoderResponse, or a SearchFailure if the action fails.
Return
The Result contains a ReverseGeocoderResponse if the call succeeds, or a SearchFailure if it fails.
Parameters
options
The object containing the data for the Reverse Geocoding call.
open override fun reverseGeocode(options: ReverseGeocoderOptions, callback: ReverseGeocoderCallback): Cancellable
Performs an asynchronous Reverse Geocoding call using the provided ReverseGeocoderOptions object and returns the result with the provided ReverseGeocoderCallback.
Parameters
options
The object containing the data for the Reverse Geocoding call.
callback
The ReverseGeocoderCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed in the main thread.