Constructor and Description |
---|
WebDialog.Builder(Context context,
Session session,
String action,
Bundle parameters)
Constructor that builds a dialog for an authenticated user.
|
WebDialog.Builder(Context context,
String applicationId,
String action,
Bundle parameters)
Constructor that builds a dialog without an authenticated user.
|
public WebDialog.Builder(Context context, Session session, String action, Bundle parameters)
context
- the Context within which the dialog will be shown.session
- the Session representing an authenticating user to use for
showing the dialog; must not be null, and must be opened.action
- the portion of the dialog URL following www.facebook.com/dialog/.
See https://developers.facebook.com/docs/reference/dialogs/ for details.parameters
- a Bundle containing parameters to pass as part of the URL.public WebDialog.Builder(Context context, String applicationId, String action, Bundle parameters)
context
- the Context within which the dialog will be shown.applicationId
- the application ID to be included in the dialog URL.action
- the portion of the dialog URL following www.facebook.com/dialog/.
See https://developers.facebook.com/docs/reference/dialogs/ for details.parameters
- a Bundle containing parameters to pass as part of the URL.