public enum DefaultAudience extends java.lang.Enum<DefaultAudience>
| Enum Constant and Description |
|---|
EVERYONE
Indicates that all Facebook users are able to see posts made by the application.
|
FRIENDS
Indicates that the user's friends are able to see posts made by the application.
|
NONE
Represents an invalid default audience value, can be used when only reading.
|
ONLY_ME
Indicates only the user is able to see posts made by the application.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNativeProtocolAudience() |
static DefaultAudience |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultAudience[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultAudience NONE
public static final DefaultAudience ONLY_ME
public static final DefaultAudience FRIENDS
public static final DefaultAudience EVERYONE
public static DefaultAudience[] values()
for (DefaultAudience c : DefaultAudience.values()) System.out.println(c);
public static DefaultAudience 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 nullpublic java.lang.String getNativeProtocolAudience()