public static class FacebookDialog.OpenGraphActionDialogBuilder extends FacebookDialog.Builder<CONCRETE>
FacebookDialog.canPresentOpenGraphActionDialog(android.content.Context,
com.facebook.widget.FacebookDialog.OpenGraphActionDialogFeature...)
indicates the capability is available.activity, appCall, applicationId, applicationName, fragment, imageAttachmentFiles, imageAttachments
Constructor and Description |
---|
FacebookDialog.OpenGraphActionDialogBuilder(Activity activity,
OpenGraphAction action,
String previewPropertyName)
Constructor.
|
FacebookDialog.OpenGraphActionDialogBuilder(Activity activity,
OpenGraphAction action,
String actionType,
String previewPropertyName)
Deprecated.
|
addImageAttachment, addImageAttachment, addImageAttachmentFiles, addImageAttachments, build, canPresent, putExtra, setApplicationName, setFragment, setRequestCode
@Deprecated public FacebookDialog.OpenGraphActionDialogBuilder(Activity activity, OpenGraphAction action, String actionType, String previewPropertyName)
activity
- the Activity which is presenting the native Open Graph action publish dialog;
must not be nullaction
- the Open Graph action to be published, which must contain a reference to at least one
Open Graph object with the property name specified by setPreviewPropertyName; the action
must have had its type specified via the OpenGraphAction.setType(String)
methodactionType
- the type of the Open Graph action to be published, which should be the namespace-qualified
name of the action type (e.g., "myappnamespace:myactiontype"); this will override the type
of the action passed in.previewPropertyName
- the name of a property on the Open Graph action that contains the
Open Graph object which will be displayed as a preview to the userpublic FacebookDialog.OpenGraphActionDialogBuilder(Activity activity, OpenGraphAction action, String previewPropertyName)
activity
- the Activity which is presenting the native Open Graph action publish dialog;
must not be nullaction
- the Open Graph action to be published, which must contain a reference to at least one
Open Graph object with the property name specified by setPreviewPropertyName; the action
must have had its type specified via the OpenGraphAction.setType(String)
methodpreviewPropertyName
- the name of a property on the Open Graph action that contains the
Open Graph object which will be displayed as a preview to the user