public enum PreferencesMode extends java.lang.Enum<PreferencesMode>
| Enum Constant and Description |
|---|
MODE_MULTI_PROCESS |
MODE_PRIVATE
Default.
|
MODE_WORLD_READABLE
Deprecated.
|
MODE_WORLD_WRITEABLE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static PreferencesMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreferencesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferencesMode MODE_PRIVATE
android.content.Context#MODE_PRIVATEpublic static final PreferencesMode MODE_MULTI_PROCESS
android.content.Context#MODE_MULTI_PROCESS@Deprecated public static final PreferencesMode MODE_WORLD_READABLE
android.content.Context#MODE_WORLD_READABLE@Deprecated public static final PreferencesMode MODE_WORLD_WRITEABLE
android.content.Context#MODE_WORLD_WRITEABLEpublic static PreferencesMode[] values()
for (PreferencesMode c : PreferencesMode.values()) System.out.println(c);
public static PreferencesMode 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 nullpublic int value()