You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This facade allows access to the Preferences interface.
Notes: filename - Filename indicates which preference file to refer to. If no filename is
supplied (the default) then the SharedPreferences uses is the default for the SL4A application. prefPutValue - uses "MODE_PRIVATE" when writing to preferences. Save values to the default
shared preferences is explicitly disallowed.
prefGetAll
Get list of Shared Preference Values
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
returns: (Map) Map of key,value
prefGetValue
Read a value from shared preferences
key (String) filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
prefPutValue
Write a value to shared preferences
key (String) value (Object) filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)