FacebookDialog.ShareDialogFeature
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

Defines a set of features that may be supported by the native Share dialog exposed by the Facebook application. As additional features are added, these flags may be passed to FacebookDialog.canPresentShareDialog(android.content.Context, com.facebook.widget.FacebookDialog.ShareDialogFeature...) to determine whether the version of the Facebook application installed on the user's device is recent enough to support specific features, which in turn may be used to determine which UI, etc., to present to the user.

扩展:Enum
执行:DialogFeature
应用安装包:widget
类方法
values()
public static ShareDialogFeature values()
valueOf(String)
public static ShareDialogFeature valueOf(String name)
参数描述
name
实例方法
getAction()

This method is for internal use only.

public String getAction()
getMinVersion()

This method is for internal use only.

public int getMinVersion()
常量
SHARE_DIALOG
Indicates whether the native Share dialog itself is supported by the installed version of the Facebook application.
public static final ShareDialogFeature SHARE_DIALOG
PHOTOS
Indicates whether the native Share dialog supports sharing of photo images.
public static final ShareDialogFeature PHOTOS