| Enum Constant and Description |
|---|
APPLY
Default.
|
COMMIT |
NOME
android.content.SharedPreferences.Editor#apply() or
android.content.SharedPreferences.Editor#commit() will have
to be called explicitly. |
| Modifier and Type | Method and Description |
|---|---|
static SaveMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveMode APPLY
android.content.SharedPreferences.Editor#apply()public static final SaveMode COMMIT
android.content.SharedPreferences.Editor#commit()public static final SaveMode NOME
android.content.SharedPreferences.Editor#apply() or
android.content.SharedPreferences.Editor#commit() will have
to be called explicitly.public static SaveMode[] values()
for (SaveMode c : SaveMode.values()) System.out.println(c);
public static SaveMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null