Module defaults

Module defaults 

Source
Expand description

Module for interacting with user preferences.

Enums§

DefaultValue
A default value that can be stored in UserDefaults.

Functions§

defaults_get
Returns the UserDefaults value associated with the specified key.
defaults_get_map
Returns a HashMap stored in UserDefaults with the specified key.
defaults_set
Sets the UserDefaults value of the specified key.
defaults_set_data
Sets the UserDefaults value of the specified key with serialized data.