| Constructor and Description |
|---|
WebDialog.RequestsDialogBuilder(android.content.Context context,
Session session)
Constructor.
|
WebDialog.RequestsDialogBuilder(android.content.Context context,
Session session,
android.os.Bundle parameters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public WebDialog.RequestsDialogBuilder(android.content.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(android.content.Context context,
Session session,
android.os.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.public WebDialog.RequestsDialogBuilder setMessage(String message)
message - the messagepublic WebDialog.RequestsDialogBuilder setTo(String id)
id - the id or user name to send the request topublic WebDialog.RequestsDialogBuilder setData(String data)
data - the datapublic WebDialog.RequestsDialogBuilder setTitle(String title)
title - the titleCopyright © 2013. All Rights Reserved.