sdk-search / com.tomtom.online.sdk.search.api.revgeo / RevGeoSearchResultListener

RevGeoSearchResultListener

interface RevGeoSearchResultListener

Listener for reverse geocoding search results.

Functions

onSearchError

abstract fun onSearchError(error: SearchError!): Unit

Method responsible to handle reverse geocoding search response when search returns error. Within this callback user will obtain SearchError containing a Throwable fail reason.

onSearchResult

abstract fun onSearchResult(response: ReverseGeocoderSearchResponse!): Unit

Method responsible to handle reverse geocoding search response when search returns results. Within this callback user will obtain ReverseGeocoderSearchResponse.