Package-level declarations

Types

Link copied to clipboard
class PrefsDataStore @JvmOverloads constructor(val name: String, val dataStore: DataStore<Preferences>, val policy: ValuePolicy = ValuePolicy.MASK_SENSITIVE, val readOnly: Boolean = false, unmasked: Set<String> = emptySet(), masked: Set<String> = emptySet())

A Preferences DataStore that the app registers with PrefsDebugTab.create.

Link copied to clipboard

The Preferences tab: the app's SharedPreferences files and Preferences DataStores, to read and edit them, under /api/v1/prefs/.

Link copied to clipboard
class PrefsFile @JvmOverloads constructor(val name: String, val prefs: SharedPreferences, val policy: ValuePolicy = ValuePolicy.MASK_SENSITIVE, val readOnly: Boolean = false, unmasked: Set<String> = emptySet(), masked: Set<String> = emptySet())

A SharedPreferences file that the app registers with PrefsDebugTab.create.

Link copied to clipboard

What the Preferences tab shows of the values in a file. The keys, types, and sizes always show. The masked keys of PrefsFile and PrefsDataStore are left out under every policy.