AutocompleteResult

data class AutocompleteResult(val segments: List<AutocompleteSegment> = emptyList())

Contains a list of results returned by the Autocomplete engine.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

segments

The list of the AutocompleteSegment returned by Autocomplete engine.

Constructors

Link copied to clipboard
fun AutocompleteResult(segments: List<AutocompleteSegment> = emptyList())

Properties

Link copied to clipboard