ReverseGeocoderApi

interface ReverseGeocoderApi : Disposable

Interface of the Reverse geocoding API for turning a location on the map into a human-readable address.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun dispose()
Link copied to clipboard
abstract fun reverseGeocode(reverseGeocoderOptions: ReverseGeocoderOptions): Result<ReverseGeocoderResponse, ReverseGeocoderError>

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.

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.