SessionDefaultAudience
لم تعد هذه الفئة متوفر في أحدث إصدار من SDK.
يتوفر إصدار أحدث لهذه الفئة. يرجى التحقق أحدث إصدار.

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
الحزمة:facebook
طرق الفئات
values()
public static SessionDefaultAudience values()
valueOf(String)
public static SessionDefaultAudience valueOf(String name)
المعلمةالوصف
name
طرق المثيلات
getNativeProtocolAudience()
public String getNativeProtocolAudience()
القيم الثابتة
NONE
Represents an invalid default audience value, can be used when only reading.
public static final SessionDefaultAudience NONE
ONLY_ME
Indicates only the user is able to see posts made by the application.
public static final SessionDefaultAudience ONLY_ME
FRIENDS
Indicates that the user's friends are able to see posts made by the application.
public static final SessionDefaultAudience FRIENDS
EVERYONE
Indicates that all Facebook users are able to see posts made by the application.
public static final SessionDefaultAudience EVERYONE