إصدار مجموعة Android SDK
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.
Field Summary
Modifier and TypeFieldDescription
private final StringnativeProtocolAudience
private final Stringname
private final Integerordinal
Enum Constant Summary
Enum ConstantDescription
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 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

getNativeProtocolAudience

 final StringgetNativeProtocolAudience()

getName

 final StringgetName()

getOrdinal

 final IntegergetOrdinal()