android-components / mozilla.components.browser.domains.autocomplete / ShippedDomainsProvider

ShippedDomainsProvider

class ShippedDomainsProvider : BaseDomainAutocompleteProvider (source)

Provides autocomplete functionality for domains based on provided list of assets (see Domains).

Constructors

Name Summary
<init> ShippedDomainsProvider()
Provides autocomplete functionality for domains based on provided list of assets (see Domains).

Inherited Properties

Name Summary
domains var domains: List<Domain>

Inherited Functions

Name Summary
getAutocompleteSuggestion open fun getAutocompleteSuggestion(query: String): DomainAutocompleteResult?
Computes an autocomplete suggestion for the given text, and invokes the provided callback, passing the result.
initialize fun initialize(context: <ERROR CLASS>): Unit

Extension Functions

Name Summary
launchGeckoResult fun <T> CoroutineScope.launchGeckoResult(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> T): GeckoResult<T>
Create a GeckoResult from a co-routine.