-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public final class ShareLinkContent.Builder extends ShareContent.Builder<ShareLinkContent, ShareLinkContent.Builder>
Builder for the ShareLinkContent interface.
-
-
Field Summary
Fields Modifier and Type Field Description private StringcontentDescriptionprivate StringcontentTitleprivate UriimageUrlprivate Stringquote
-
Method Summary
Modifier and Type Method Description ShareLinkContent.BuildersetContentDescription(@Nullable() String contentDescription)ShareLinkContent.BuildersetContentTitle(@Nullable() String contentTitle)ShareLinkContent.BuildersetImageUrl(@Nullable() Uri imageUrl)ShareLinkContent.BuildersetQuote(@Nullable() String quote)Set the quote to display for this link. ShareLinkContentbuild()Builds the object. ShareLinkContent.BuilderreadFrom(ShareLinkContent 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
-
setContentDescription
@Deprecated() ShareLinkContent.Builder setContentDescription(@Nullable() String contentDescription)
- Parameters:
contentDescription- The contentDescription of the link.
-
setContentTitle
@Deprecated() ShareLinkContent.Builder setContentTitle(@Nullable() String contentTitle)
- Parameters:
contentTitle- The link contentTitle.
-
setImageUrl
@Deprecated() ShareLinkContent.Builder setImageUrl(@Nullable() Uri imageUrl)
- Parameters:
imageUrl- The network URL of an image.
-
setQuote
ShareLinkContent.Builder setQuote(@Nullable() String quote)
Set the quote to display for this link.
- Parameters:
quote- The text quoted from the link.
-
build
ShareLinkContent build()
Builds the object.
-
readFrom
ShareLinkContent.Builder readFrom(ShareLinkContent model)
Reads the values from a ShareModel into the builder.
- Parameters:
model- The source ShareModel
-
-
-
-