Package-level declarations
Properties
Functions
Encrypted Preferences PrefsDataStore over caller-supplied storage.
Canonical encrypted Preferences factory. Prefer PrefsStoreLocator.Platform from commonMain (Okio on file targets, localStorage on JS/Wasm). Path must end with .preferences_pb when resolved to file.
Okio Preferences path factory (encrypted). Requires a .preferences_pb suffix.
Canonical plain Preferences factory. Prefer PrefsStoreLocator.Platform from commonMain (Okio on file targets, localStorage on JS/Wasm).
Okio Preferences path factory (unencrypted). Requires a .preferences_pb suffix. Prefer PrefsStoreLocator.File / PrefsStoreLocator.Platform from shared code.
Builds an EncryptedPreferencesSerializer for custom PrefsStorage (e.g. WebLocalStorage).
Validates that this Path ends with .preferences_pb, throwing IllegalArgumentException otherwise.