Interface of android.content · SharedPreferences.java · Android's reference
public interface SharedPreferences
Keyed values kept in a file of the app's.
public abstract Map<String, ?> getAll() sourcepublic abstract String getString(String key, String defValue) sourcepublic abstract Set<String> getStringSet(String key, Set<String> defValues) sourcepublic abstract int getInt(String key, int defValue) sourcepublic abstract long getLong(String key, long defValue) sourcepublic abstract float getFloat(String key, float defValue) sourcepublic abstract boolean getBoolean(String key, boolean defValue) sourcepublic abstract boolean contains(String key) sourcepublic abstract Editor edit() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.