@PublicPreview("2021.06") interface AutocompleteSuggestionCallback
Callback that informs 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 successfully obtained. |