public static enum Preference.Visibility extends java.lang.Enum<Preference.Visibility>
| Modifier and Type | Method and Description |
|---|---|
static Preference.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Preference.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Preference.Visibility hidden
public static final Preference.Visibility all
public static final Preference.Visibility admin
public static final Preference.Visibility user
public static Preference.Visibility[] values()
for (Preference.Visibility c : Preference.Visibility.values()) System.out.println(c);
public static Preference.Visibility 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