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

Result

data class Result (source)

Represents a result of auto-completion.

Constructors

<init>

Result(text: String, url: String, source: String, size: Int)

Represents a result of auto-completion.

Properties

size

val size: Int

total number of available autocomplete domains in this source

source

val source: String

the source identifier of the autocomplete source

text

val text: String

the result text starting with the raw search text as passed to autocomplete followed by the completion text (e.g. moz => mozilla.org)

url

val url: String

the complete url (containing the protocol) as provided when the domain was saved. (e.g. https://mozilla.org)