public static final class ShareLinkContent.Builder extends ShareContent.Builder<ShareLinkContent,ShareLinkContent.Builder>
ShareLinkContent interface.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShareLinkContent |
build()
Builds the object.
|
ShareLinkContent.Builder |
readFrom(ShareLinkContent model)
Reads the values from a ShareModel into the builder.
|
ShareLinkContent.Builder |
setContentDescription(java.lang.String contentDescription)
Deprecated.
As of Graph API 2.9 this field is deprecated and may not function as expected.
Set the contentDescription of the link.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations.
|
ShareLinkContent.Builder |
setContentTitle(java.lang.String contentTitle)
Deprecated.
As of Graph API 2.9 this field is deprecated and may not function as expected.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations.
Set the contentTitle to display for this link.
|
ShareLinkContent.Builder |
setImageUrl(android.net.Uri imageUrl)
Deprecated.
As of Graph API 2.9 this field is deprecated and may not function as expected.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations.
Set the URL of a picture to attach to this content.
|
ShareLinkContent.Builder |
setQuote(java.lang.String quote)
Set the quote to display for this link.
|
setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtag@Deprecated public ShareLinkContent.Builder setContentDescription(@Nullable java.lang.String contentDescription)
contentDescription - The contentDescription of the link.@Deprecated public ShareLinkContent.Builder setContentTitle(@Nullable java.lang.String contentTitle)
contentTitle - The link contentTitle.@Deprecated public ShareLinkContent.Builder setImageUrl(@Nullable android.net.Uri imageUrl)
imageUrl - The network URL of an image.public ShareLinkContent.Builder setQuote(@Nullable java.lang.String quote)
quote - The text quoted from the link.public ShareLinkContent build()
ShareBuilderpublic ShareLinkContent.Builder readFrom(ShareLinkContent model)
ShareModelBuilderreadFrom in interface ShareModelBuilder<ShareLinkContent,ShareLinkContent.Builder>readFrom in class ShareContent.Builder<ShareLinkContent,ShareLinkContent.Builder>model - The source ShareModel