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

onError

@PublicPreview("2021.06") 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.