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