All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static Map<String,?> |
getAll(Context context) |
static boolean |
getBoolean(Context context,
String key,
boolean defaultValue) |
static int |
getInt(Context context,
String key,
int defaultValue) |
static long |
getLong(Context context,
String key,
long defaultValue) |
static String |
getString(Context context,
String key,
String defaultValue) |
static void |
putBoolean(Context context,
String key,
boolean value) |
static void |
putInt(Context context,
String key,
int value) |
static void |
putLong(Context context,
String key,
long value) |
static void |
putString(Context context,
String key,
String value) |
static void |
registerListener(Context context,
SharedPreferences.OnSharedPreferenceChangeListener listener) |
static void |
remove(Context context,
String key) |
static void |
unregisterListener(Context context,
SharedPreferences.OnSharedPreferenceChangeListener listener) |