public static enum SharedPref.Scope extends Enum<SharedPref.Scope>
Enum Constant and Description |
---|
ACTIVITY |
ACTIVITY_DEFAULT |
APPLICATION_DEFAULT |
UNIQUE |
Modifier and Type | Method and Description |
---|---|
static SharedPref.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharedPref.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedPref.Scope APPLICATION_DEFAULT
public static final SharedPref.Scope ACTIVITY
public static final SharedPref.Scope ACTIVITY_DEFAULT
public static final SharedPref.Scope UNIQUE
public static SharedPref.Scope[] values()
for (SharedPref.Scope c : SharedPref.Scope.values()) System.out.println(c);
public static SharedPref.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2014. All Rights Reserved.