android-components / mozilla.components.browser.domains / BaseDomainAutocompleteProvider

# BaseDomainAutocompleteProvider

`abstract class BaseDomainAutocompleteProvider : DomainAutocompleteProvider` (source)

Provides common autocomplete functionality powered by domain lists.

### Constructors

<init> | `BaseDomainAutocompleteProvider(list: DomainList)` Provides common autocomplete functionality powered by domain lists.

### Properties

domains | `var domains: List<Domain>`

### Functions

getAutocompleteSuggestion | `open fun getAutocompleteSuggestion(query: String): DomainAutocompleteResult?` Computes an autocomplete suggestion for the given text, and invokes the provided callback, passing the result.
initialize | `abstract fun initialize(context: Context): Unit`

### Inheritors

CustomDomainsProvider | `class CustomDomainsProvider : BaseDomainAutocompleteProvider` Provides autocomplete functionality for domains based on a list managed by CustomDomains.
ShippedDomainsProvider | `class ShippedDomainsProvider : BaseDomainAutocompleteProvider` Provides autocomplete functionality for domains based on provided list of assets (see Domains).