SettingsPlatform

class SettingsPlatform(val localMeshDiscovery: Boolean, val wifiProvisioning: Boolean, val helpDocs: Boolean, val firmware: Boolean, val tak: Boolean, val databasePerDevice: Boolean, val deviceLocation: Boolean, val keyBackup: Boolean, val locationFailureHint: Boolean, val reloadApp: () -> Unit?)(source)

What the app shell running Settings can offer. Settings links only to destinations the shell registers, so a feature module the shell leaves out never becomes a dead row.

Constructors

Link copied to clipboard
constructor(localMeshDiscovery: Boolean, wifiProvisioning: Boolean, helpDocs: Boolean, firmware: Boolean, tak: Boolean, databasePerDevice: Boolean, deviceLocation: Boolean, keyBackup: Boolean, locationFailureHint: Boolean, reloadApp: () -> Unit?)

Properties

Link copied to clipboard

each radio keeps its own app database; false where one database holds every radio.

Link copied to clipboard

this device can supply a location for "set fixed position from phone".

Link copied to clipboard

the shell registers feature:firmware, which also hosts ChirpyHop.

Link copied to clipboard

the shell registers feature:docs.

Link copied to clipboard

the Security screen offers backup and restore of this device's own key file. Desktop and web deliberately do not: web storage is readable by any script on the origin.

Link copied to clipboard

the shell registers feature:discovery.

Link copied to clipboard

the position button explains a missing fix, since a browser refuses a blocked permission without prompting.

Link copied to clipboard
val reloadApp: () -> Unit?

restarts the app in place, or null where the user restarts it themselves.

Link copied to clipboard

the TAK module screen and the local TAK server exist; a page cannot run a server.

Link copied to clipboard

the shell registers feature:wifi-provision.

Functions

Link copied to clipboard
fun supports(route: Route): Boolean

False for a route whose destination this shell does not register.