|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.facebook.widget.WebDialog.FeedDialogBuilder
public static class WebDialog.FeedDialogBuilder
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.FeedDialogBuilder(Context context,
Session session)
Constructor. |
|
WebDialog.FeedDialogBuilder(Context context,
Session session,
Bundle parameters)
Constructor. |
Method Summary | |
---|---|
WebDialog.FeedDialogBuilder |
setCaption(String caption)
Sets the caption to be displayed. |
WebDialog.FeedDialogBuilder |
setDescription(String description)
Sets the description to be displayed. |
WebDialog.FeedDialogBuilder |
setFrom(String id)
Sets the ID of the profile that is posting to Facebook. |
WebDialog.FeedDialogBuilder |
setLink(String link)
Sets the URL of a link to be shared. |
WebDialog.FeedDialogBuilder |
setName(String name)
Sets the name of the item being shared. |
WebDialog.FeedDialogBuilder |
setPicture(String picture)
Sets the URL of a picture to be shared. |
WebDialog.FeedDialogBuilder |
setSource(String source)
Sets the URL of a media file attached to this post. |
WebDialog.FeedDialogBuilder |
setTo(String id)
Sets the ID of the profile that the story will be published to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebDialog.FeedDialogBuilder(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.FeedDialogBuilder(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.FeedDialogBuilder setFrom(String id)
id
- Facebook ID of the profile to post from
public WebDialog.FeedDialogBuilder setTo(String id)
id
- Facebook ID of the profile to post to
public WebDialog.FeedDialogBuilder setLink(String link)
link
- the URL
public WebDialog.FeedDialogBuilder setPicture(String picture)
picture
- the URL of the picture
public WebDialog.FeedDialogBuilder setSource(String source)
source
- the URL of the media file
public WebDialog.FeedDialogBuilder setName(String name)
name
- the name
public WebDialog.FeedDialogBuilder setCaption(String caption)
caption
- the caption
public WebDialog.FeedDialogBuilder setDescription(String description)
description
- the description
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |