|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.facebook.widget.WebDialog.RequestsDialogBuilder
public static class WebDialog.RequestsDialogBuilder
Provides a builder that allows construction of the parameters for showing the Feed Dialog (https://developers.facebook.com/docs/reference/dialogs/feed/).
Constructor Summary | |
---|---|
WebDialog.RequestsDialogBuilder(Context context,
Session session)
Constructor. |
|
WebDialog.RequestsDialogBuilder(Context context,
Session session,
Bundle parameters)
Constructor. |
Method Summary | |
---|---|
WebDialog.RequestsDialogBuilder |
setData(String data)
Sets optional data which can be used for tracking; maximum length is 255 characters. |
WebDialog.RequestsDialogBuilder |
setMessage(String message)
Sets the string users receiving the request will see. |
WebDialog.RequestsDialogBuilder |
setTitle(String title)
Sets an optional title for the dialog; maximum length is 50 characters. |
WebDialog.RequestsDialogBuilder |
setTo(String id)
Sets the user ID or user name the request will be sent to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebDialog.RequestsDialogBuilder(Context context, Session session)
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.public WebDialog.RequestsDialogBuilder(Context context, Session session, Bundle parameters)
context
- the Context within which the dialog will be shown.parameters
- a Bundle containing parameters to pass as part of the
dialog URL. No validation is done on these parameters; it is
the caller's responsibility to ensure they are valid.session
- the Session representing an authenticating user to use for
showing the dialog; must not be null, and must be opened.Method Detail |
---|
public WebDialog.RequestsDialogBuilder setMessage(String message)
message
- the message
public WebDialog.RequestsDialogBuilder setTo(String id)
id
- the id or user name to send the request to
public WebDialog.RequestsDialogBuilder setData(String data)
data
- the data
public WebDialog.RequestsDialogBuilder setTitle(String title)
title
- the title
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |