fun autocomplete(rawText: String): Result
(source)
Computes an autocomplete suggestion for the given text, and invokes the provided callback, passing the result.
rawText
- text to be auto completed
Return
the result of auto-completion. If no match is found an empty
result object is returned.