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