FileDocCategorySizeDatePackage
SharedPreferences.javaAPI DocAndroid 5.1 API2136Sat Mar 14 14:09:36 GMT 2015android.content

SharedPreferences

public interface SharedPreferences

Fields Summary
Constructors Summary
Methods Summary
public abstract booleancontains(java.lang.String key)

public abstract android.content.SharedPreferences$Editoredit()

public abstract java.util.MapgetAll()

public abstract booleangetBoolean(java.lang.String key, boolean defValue)

public abstract floatgetFloat(java.lang.String key, float defValue)

public abstract intgetInt(java.lang.String key, int defValue)

public abstract longgetLong(java.lang.String key, long defValue)

public abstract java.lang.StringgetString(java.lang.String key, java.lang.String defValue)

public abstract java.util.SetgetStringSet(java.lang.String key, java.util.Set defValues)

public abstract voidregisterOnSharedPreferenceChangeListener(android.content.SharedPreferences$OnSharedPreferenceChangeListener listener)

public abstract voidunregisterOnSharedPreferenceChangeListener(android.content.SharedPreferences$OnSharedPreferenceChangeListener listener)