android-components / mozilla.components.concept.toolbar / AutocompleteDelegate / applyAutocompleteResult

applyAutocompleteResult

abstract fun applyAutocompleteResult(result: AutocompleteResult, onApplied: () -> Unit = { }): Unit (source)

Parameters

result - Apply result of autocompletion.

onApplied - a lambda/callback invoked if (and only if) the result has been applied. A result may be discarded by implementations because it is stale or the autocomplete request has been cancelled.