android-components / mozilla.components.concept.toolbar / Toolbar / setAutocompleteListener

# setAutocompleteListener

`abstract fun setAutocompleteListener(filter: (String, AutocompleteDelegate) -> Unit): Unit` (source)

Registers the given function to be invoked when users changes text in the toolbar.

### Parameters

`filter` - A function which will perform autocompletion and send results to AutocompleteDelegate.