onError

abstract fun onError(e: Exception)

Called when error occurs during the search request, i.e. when one of SearchSuggestionsCallback.onError, SearchSelectionCallback.onError, OfflineSearchCallback.onError callbacks called. When this happens, error information is displayed on the view.

See also

com.mapbox.search.SearchSuggestionsCallback
com.mapbox.search.SearchSelectionCallback
com.mapbox.search.offline.OfflineSearchCallback

Parameters

e

Exception, occurred during the request.