sdk-search / com.tomtom.online.sdk.search.autocomplete / AutocompleteSuggestionCallback / onError

onError

@Beta(2020, 12) abstract fun onError(error: SearchException): Unit

Called when an error occurs during the process of obtaining the AutocompleteSuggestion.

Parameters

error - Error which occurred while obtaining the PoiCategories.