SettingsSearchEntry

data class SettingsSearchEntry(val title: StringResource, val description: StringResource?, val route: Route, val screenTitle: StringResource, val isAppLocal: Boolean = false)(source)

One thing the user can search for: a settings screen, or a single control on one.

Parameters

title

the row's own name. For a proto-backed control this is the schema's label.

description

the schema's one-sentence explanation, where it has one. Matched as well as shown.

route

where tapping the result goes.

screenTitle

the destination's name, shown beside the result so "Enabled" says which Enabled it is.

Constructors

Link copied to clipboard
constructor(title: StringResource, description: StringResource?, route: Route, screenTitle: StringResource, isAppLocal: Boolean = false)

Properties

Link copied to clipboard
val description: StringResource?
Link copied to clipboard

True for settings that belong to this phone rather than to a radio, which a remote session must not offer.

Link copied to clipboard
Link copied to clipboard
val screenTitle: StringResource
Link copied to clipboard
val title: StringResource