@Beta(2020, 12) interface AutocompleteSuggestionCallback
Callback which is responsible to inform about a received AutocompleteSuggestion or respective error.
abstract fun onError(error: SearchException): Unit
Called when an error occurs during the process of obtaining the AutocompleteSuggestion. |
|
abstract fun onSuccess(autocompleteSuggestion: AutocompleteSuggestion): Unit
Called when an AutocompleteSuggestion has been obtained successfully. |