android.content
Interface SharedPreferences.Editor

Enclosing interface:
SharedPreferences

public static interface SharedPreferences.Editor


Method Summary
 void apply()
           
 SharedPreferences.Editor clear()
           
 boolean commit()
           
 SharedPreferences.Editor putBoolean(String key, boolean value)
           
 SharedPreferences.Editor putFloat(String key, float value)
           
 SharedPreferences.Editor putInt(String key, int value)
           
 SharedPreferences.Editor putLong(String key, long value)
           
 SharedPreferences.Editor putString(String key, String value)
           
 SharedPreferences.Editor putStringSet(String key, Set<String> values)
           
 SharedPreferences.Editor remove(String key)
           
 

Method Detail

putString

SharedPreferences.Editor putString(String key,
                                   String value)

putStringSet

SharedPreferences.Editor putStringSet(String key,
                                      Set<String> values)

putInt

SharedPreferences.Editor putInt(String key,
                                int value)

putLong

SharedPreferences.Editor putLong(String key,
                                 long value)

putFloat

SharedPreferences.Editor putFloat(String key,
                                  float value)

putBoolean

SharedPreferences.Editor putBoolean(String key,
                                    boolean value)

remove

SharedPreferences.Editor remove(String key)

clear

SharedPreferences.Editor clear()

commit

boolean commit()

apply

void apply()


Copyright © 2008-2012. All Rights Reserved.