class DomainAutoCompleteProvider
(source)Provides autocomplete functionality for domains, based on a provided list of assets (see Domains) and/or a custom domain list managed by CustomDomains.
object AutocompleteSource |
|
data class Result
Represents a result of auto-completion. |
DomainAutoCompleteProvider()
Provides autocomplete functionality for domains, based on a provided list of assets (see Domains) and/or a custom domain list managed by CustomDomains. |
fun autocomplete(rawText: String): Result
Computes an autocomplete suggestion for the given text, and invokes the provided callback, passing the result. |
|
fun initialize(context: Context, useShippedDomains: Boolean = true, useCustomDomains: Boolean = false, loadDomainsFromDisk: Boolean = true): Unit
Initializes this provider instance by making sure the shipped and/or custom domains are loaded. |