fun applyAutocompleteResult(result: AutocompleteResult): Unit
Applies the provided result by updating the current autocomplete text and selection, if any.
result - the AutocompleteProvider.AutocompleteResult to apply
result