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
应用安装包:login
类方法
values()
public static DefaultAudience values()
valueOf(String)
public static DefaultAudience valueOf(String name)
参数描述
name
实例方法
getNativeProtocolAudience()
public String getNativeProtocolAudience()
常量
NONE
Represents an invalid default audience value, can be used when only reading.
public static final DefaultAudience NONE
ONLY_ME
Indicates only the user is able to see posts made by the application.
public static final DefaultAudience ONLY_ME
FRIENDS
Indicates that the user's friends are able to see posts made by the application.
public static final DefaultAudience FRIENDS
EVERYONE
Indicates that all Facebook users are able to see posts made by the application.
public static final DefaultAudience EVERYONE