Android SDK Version
All Implemented Interfaces: , 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.
Field Summary
Modifier and TypeFieldDescription
private final StringnativeProtocolAudience
private final Stringname
private final Integerordinal
Enum Constant Summary
Enum ConstantDescription
Represents an invalid default audience value, can be used when only reading.
Indicates only the user is able to see posts made by the application.
Indicates that the user's friends are able to see posts made by the application.
Indicates that all Facebook users are able to see posts made by the application.
Method Summary
Modifier and TypeMethodDescription
final StringgetNativeProtocolAudience()
final StringgetName()
final IntegergetOrdinal()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail


 final StringgetNativeProtocolAudience()


 final StringgetName()


 final IntegergetOrdinal()