sdk-search / com.tomtom.online.sdk.search.fuzzy / FuzzyOutcomeCallback

FuzzyOutcomeCallback

@PublicPreview("2021.06") interface FuzzyOutcomeCallback

Callback that informs about a received FuzzyOutcome or respective error.

Functions

onError

abstract fun onError(error: SearchException): Unit

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

onSuccess

abstract fun onSuccess(fuzzyOutcome: FuzzyOutcome): Unit

Called when a PoiCategories has been successfully obtained.