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

# CustomDomainsProvider

`class CustomDomainsProvider : BaseDomainAutocompleteProvider` (source)

Provides autocomplete functionality for domains based on a list managed by CustomDomains.

### Constructors

<init> | `CustomDomainsProvider()` Provides autocomplete functionality for domains based on a list managed by CustomDomains.

### Inherited Properties

domains | `var domains: List<Domain>`

### Functions

initialize | `fun initialize(context: Context): Unit`

### Inherited Functions

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