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

DomainAutocompleteProvider

interface DomainAutocompleteProvider (source)

Functions

Name Summary
getAutocompleteSuggestion abstract fun getAutocompleteSuggestion(query: String): DomainAutocompleteResult?

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
BaseDomainAutocompleteProvider open class BaseDomainAutocompleteProvider : DomainAutocompleteProvider, CoroutineScope
Provides common autocomplete functionality powered by domain lists.