Package-level declarations
Functions
Link copied to clipboard
Calls Preferences.flush after executing the given operations.
Link copied to clipboard
Retrieves a value of T type from the Preferences for the given key or returns the defaultValue if the key is absent.
Link copied to clipboard
Stores any value under the given key in the Preferences. The first value of the pair is considered the key, while the second is treated as the value.
Serializes any value as a JSON string and stores it under the given key in the Preferences. Note that value must be JSON-serializable - see the Json module for details.