SearchSuggestion

data class SearchSuggestion(    val imageResId: Int,     val title: String,     val subtitle: String,     val query: String)

Search suggestion data.

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

Constructors

Link copied to clipboard
fun SearchSuggestion(    imageResId: Int,     title: String,     subtitle: String,     query: String)

Properties

Link copied to clipboard
val imageResId: Int

Resource ID for the icon of the suggestion item.

Link copied to clipboard
val query: String

Query that should be inserted to the search field.

Link copied to clipboard
val subtitle: String

Suggestion subtitle.

Link copied to clipboard
val title: String

Suggestion title.