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

autocomplete

fun autocomplete(rawText: String): Result (source)

Computes an autocomplete suggestion for the given text, and invokes the provided callback, passing the result.

Parameters

rawText - text to be auto completed

Return the result of auto-completion. If no match is found an empty result object is returned.