AppSettings
data class AppSettings(val defaultEncryptKeyId: Long? = null, val defaultSignKeyId: Long? = null, val keyserverLookupEnabled: Boolean = true, val keyserverUrl: String = KeyserverClient.DEFAULT_URL, val showFingerprintOnList: Boolean = true, val backupReminderEnabled: Boolean = true, val overlayGloballyEnabled: Boolean = true, val showOverlayButtons: Boolean = true, val allowScreenshots: Boolean = false, val autocryptEnabled: Boolean = false, val appLanguage: String = "system")
Snapshot of user-configurable application settings persisted in SharedPreferences.
Constructors
Link copied to clipboard
constructor(defaultEncryptKeyId: Long? = null, defaultSignKeyId: Long? = null, keyserverLookupEnabled: Boolean = true, keyserverUrl: String = KeyserverClient.DEFAULT_URL, showFingerprintOnList: Boolean = true, backupReminderEnabled: Boolean = true, overlayGloballyEnabled: Boolean = true, showOverlayButtons: Boolean = true, allowScreenshots: Boolean = false, autocryptEnabled: Boolean = false, appLanguage: String = "system")
Properties
Link copied to clipboard
Whether the app permits screen capture (FLAG_SECURE off).
Link copied to clipboard
"system", "en", "fr", "es", "de", "it", "pt"
Link copied to clipboard
Whether Autocrypt header processing is active.
Link copied to clipboard
Whether to remind the user to back up keys.
Link copied to clipboard
Master key id used for encryption when none is explicitly chosen.
Link copied to clipboard
Master key id used for signing when none is explicitly chosen.
Link copied to clipboard
Whether remote keyserver lookup is enabled.
Link copied to clipboard
Base URL for OpenPGP keyserver (VKS/HKP).
Link copied to clipboard
Master switch for the messaging overlay feature.
Link copied to clipboard
Whether key fingerprints appear in the key list UI.
Link copied to clipboard
Whether overlay action buttons are visible.