public static class FacebookDialog.OpenGraphMessageDialogBuilder extends FacebookDialog.Builder<CONCRETE>
FacebookDialog.canPresentOpenGraphMessageDialog(android.content.Context,
com.facebook.widget.FacebookDialog.OpenGraphMessageDialogFeature...)
indicates the capability is available.activity, appCall, applicationId, applicationName, fragment, imageAttachmentFiles, imageAttachments
Constructor and Description |
---|
FacebookDialog.OpenGraphMessageDialogBuilder(Activity activity,
OpenGraphAction action,
String previewPropertyName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected EnumSet<? extends FacebookDialog.DialogFeature> |
getDialogFeatures() |
addImageAttachment, addImageAttachment, addImageAttachmentFiles, addImageAttachments, build, canPresent, getWebFallbackUrlInternal, putExtra, setApplicationName, setFragment, setRequestCode
public FacebookDialog.OpenGraphMessageDialogBuilder(Activity activity, OpenGraphAction action, String previewPropertyName)
activity
- the Activity which is presenting the native Open Graph action message dialog;
must not be nullaction
- the Open Graph action to be sent, 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 userprotected EnumSet<? extends FacebookDialog.DialogFeature> getDialogFeatures()
getDialogFeatures
in class FacebookDialog.Builder<FacebookDialog.OpenGraphMessageDialogBuilder>