-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum DefaultAudience extends Enum<DefaultAudience>
Certain operations such as publishing a status or publishing a photo require an audience. When the user grants an application permission to perform a publish operation, a default audience is selected as the publication ceiling for the application. This enumerated value allows the application to select which audience to ask the user to grant publish permission for.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.
FRIENDS
Indicates that the user's friends are able to see posts made by the application.
EVERYONE
Indicates that all Facebook users are able to see posts made by the application.
-
Method Summary
Modifier and Type Method Description final String
getNativeProtocolAudience()
final String
getName()
final Integer
getOrdinal()
-
-
Method Detail
-
getNativeProtocolAudience
final String getNativeProtocolAudience()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-