public static enum Album.Privacy extends Enum<Album.Privacy>
Enum Constant and Description |
---|
CUSTOM |
EVERYONE |
FRIENDS |
FRIENDS_OF_FRIENDS |
Modifier and Type | Method and Description |
---|---|
static Album.Privacy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Album.Privacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Album.Privacy EVERYONE
public static final Album.Privacy FRIENDS_OF_FRIENDS
public static final Album.Privacy FRIENDS
public static final Album.Privacy CUSTOM
public static Album.Privacy[] values()
for (Album.Privacy c : Album.Privacy.values()) System.out.println(c);
public static Album.Privacy 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 null