-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public final class ShareFeedContent.Builder extends ShareContent.Builder<ShareFeedContent, ShareFeedContent.Builder>
Builder for the ShareFeedContent interface.
-
-
Field Summary
Fields Modifier and Type Field Description private StringtoIdprivate Stringlinkprivate StringlinkNameprivate StringlinkCaptionprivate StringlinkDescriptionprivate Stringpictureprivate StringmediaSource
-
Method Summary
Modifier and Type Method Description ShareFeedContent.BuildersetToId(String toId)ShareFeedContent.BuildersetLink(String link)ShareFeedContent.BuildersetLinkName(String linkName)ShareFeedContent.BuildersetLinkCaption(String linkCaption)ShareFeedContent.BuildersetLinkDescription(String linkDescription)ShareFeedContent.BuildersetPicture(String picture)ShareFeedContent.BuildersetMediaSource(String mediaSource)ShareFeedContentbuild()Builds the object. ShareFeedContent.BuilderreadFrom(ShareFeedContent model)Reads the values from a ShareModel into the builder. -
Methods inherited from class com.facebook.share.model.ShareContent.Builder
readFrom, setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtag -
Methods inherited from class com.facebook.share.model.ShareModelBuilder
readFrom -
Methods inherited from class com.facebook.share.ShareBuilder
build -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setToId
ShareFeedContent.Builder setToId(String toId)
-
setLink
ShareFeedContent.Builder setLink(String link)
-
setLinkName
ShareFeedContent.Builder setLinkName(String linkName)
-
setLinkCaption
ShareFeedContent.Builder setLinkCaption(String linkCaption)
-
setLinkDescription
ShareFeedContent.Builder setLinkDescription(String linkDescription)
-
setPicture
ShareFeedContent.Builder setPicture(String picture)
-
setMediaSource
ShareFeedContent.Builder setMediaSource(String mediaSource)
-
build
ShareFeedContent build()
Builds the object.
-
readFrom
ShareFeedContent.Builder readFrom(ShareFeedContent model)
Reads the values from a ShareModel into the builder.
- Parameters:
model- The source ShareModel
-
-
-
-