FacebookDialog.MessageDialogFeature
最新版本的 SDK 已不再提供此課程。

Defines a set of features that may be supported by the native Message dialog exposed by the Facebook Messenger application. As additional features are added, these flags may be passed to FacebookDialog.canPresentMessageDialog(android.content.Context, com.facebook.widget.FacebookDialog.MessageDialogFeature...) 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 MessageDialogFeature values()
valueOf(String)
public static MessageDialogFeature valueOf(String name)
參數說明
name
執行個體方法
getAction()

This method is for internal use only.

public String getAction()
getAction()

This method is for internal use only.

public String getAction()
getMinVersion()

This method is for internal use only.

public int getMinVersion()
getMinVersion()

This method is for internal use only.

public int getMinVersion()
常數
MESSAGE_DIALOG
Indicates whether the native Message dialog itself is supported by the installed version of the Facebook application.
public static final MessageDialogFeature MESSAGE_DIALOG
PHOTOS
Indicates whether the native Message dialog supports sharing of photo images.
public static final MessageDialogFeature PHOTOS
VIDEO
Indicates whether the native Message dialog supports sharing of videos.
public static final MessageDialogFeature VIDEO