SettingsSearchEntry

data class SettingsSearchEntry(@StringRes val title: Int, @StringRes val section: Int, val destination: NavKey, @StringRes val summary: Int? = null)(source)

A setting the settings search can find: a row on one of the settings pages, rather than the page itself.

Constructors

Link copied to clipboard
constructor(@StringRes title: Int, @StringRes section: Int, destination: NavKey, @StringRes summary: Int? = null)

Properties

Link copied to clipboard

Where choosing the result goes: the page that holds the row, or the page the row itself opens.

Link copied to clipboard

The page it lives on, shown under the title in the results.

Link copied to clipboard
val summary: Int?

The row's summary, searched as well as the title.

Link copied to clipboard
val title: Int

The row's own title, as the page shows it.