SearchCallback

interface SearchCallback

Search result callback for category search and reverse geocoding. When an event happens, the corresponding method will be called on the main thread.

Functions

onError
Link copied to clipboard
abstract fun onError(e: Exception)
Called in case if error occurred during request.
onResults
Link copied to clipboard
abstract fun onResults(results: List<SearchResult>, responseInfo: ResponseInfo)
Called when results are ready.