FonamentPreferences
A class that provides functions to set and get data from a DataStore<Preferences> instance.
Functions
Link copied to clipboard
Retrieves a Flow containing the value from the data store preferences given its key, or null otherwise.
Link copied to clipboard
Link copied to clipboard
Retrieves a Flow containing the value from the data store preferences given its key, or null otherwise.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieves a Flow containing the value from the data store preferences given its key, or null otherwise.
Link copied to clipboard
Link copied to clipboard
Sets a Boolean in the data store preferences.
Sets a ByteArray in the data store preferences.
Sets a Double in the data store preferences.
Sets a Float in the data store preferences.
Sets an Int in the data store preferences.
Sets a Long in the data store preferences.
Sets a String in the data store preferences.