public static interface SharedPreferences.Editor
extends android.content.SharedPreferences.Editor
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
SharedPreferences.Editor |
clear() |
boolean |
commit() |
SharedPreferences.Editor |
putBoolean(String key,
boolean value) |
SharedPreferences.Editor |
putFloat(String key,
float value) |
SharedPreferences.Editor |
putFloatSet(String key,
Set<Float> value) |
SharedPreferences.Editor |
putInt(String key,
int value) |
SharedPreferences.Editor |
putIntSet(String key,
Set<Integer> value) |
SharedPreferences.Editor |
putJSONArray(String key,
org.json.JSONArray value) |
SharedPreferences.Editor |
putJSONObject(String key,
org.json.JSONObject value) |
SharedPreferences.Editor |
putLong(String key,
long value) |
SharedPreferences.Editor |
putLongSet(String key,
Set<Long> value) |
SharedPreferences.Editor |
putString(String key,
String value) |
SharedPreferences.Editor |
putStringSet(String key,
Set<String> value) |
SharedPreferences.Editor |
remove(String key) |
void apply()
apply in interface android.content.SharedPreferences.EditorSharedPreferences.Editor clear()
clear in interface android.content.SharedPreferences.Editorboolean commit()
commit in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putBoolean(String key, boolean value)
putBoolean in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putFloat(String key, float value)
putFloat in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putFloatSet(String key, Set<Float> value)
SharedPreferences.Editor putInt(String key, int value)
putInt in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putIntSet(String key, Set<Integer> value)
SharedPreferences.Editor putJSONArray(String key, org.json.JSONArray value)
SharedPreferences.Editor putJSONObject(String key, org.json.JSONObject value)
SharedPreferences.Editor putLong(String key, long value)
putLong in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putLongSet(String key, Set<Long> value)
SharedPreferences.Editor putString(String key, String value)
putString in interface android.content.SharedPreferences.EditorSharedPreferences.Editor putStringSet(String key, Set<String> value)
putStringSet in interface android.content.SharedPreferences.EditorSharedPreferences.Editor remove(String key)
remove in interface android.content.SharedPreferences.EditorCopyright © 2012. All Rights Reserved.