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
In order to remove all shared preferences, you would call the clear method.
80
-
81
-
/**
82
-
* Clear all shared preferences
83
-
*
84
-
*/
85
-
clear(success, fail)
86
-
87
-
Sample use:
88
-
89
-
window.applicationPreferences.clear(function() {
90
-
alert("Cleared all preferences!");
91
-
}, function(error) {
92
-
alert("Error! " + JSON.stringify(error));
93
-
});
94
-
95
-
### load ###
96
-
97
-
In order to get all the properties you can call the load method. The success callback of the load method will be called with a JSONObject which contains all the preferences.
0 commit comments