public final class ShareLinkContent extends ShareContent<ShareLinkContent,ShareLinkContent.Builder>
ShareLinkContent.Builder to build instances.
See documentation for best practices.| Modifier and Type | Class and Description |
|---|---|
static class |
ShareLinkContent.Builder
Builder for the
ShareLinkContent interface. |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ShareLinkContent> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getContentDescription()
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.
The description of the link. If not specified, this field is automatically populated by
information scraped from the link, typically the title of the page.
|
java.lang.String |
getContentTitle()
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.
The title to display for this link.
|
android.net.Uri |
getImageUrl()
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.
The URL of a picture to attach to this content.
|
java.lang.String |
getQuote()
The quoted text to display for this link.
|
void |
writeToParcel(android.os.Parcel out,
int flags) |
getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtagpublic static final android.os.Parcelable.Creator<ShareLinkContent> CREATOR
@Deprecated public java.lang.String getContentDescription()
@Deprecated @Nullable public java.lang.String getContentTitle()
@Deprecated @Nullable public android.net.Uri getImageUrl()
@Nullable public java.lang.String getQuote()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class ShareContent<ShareLinkContent,ShareLinkContent.Builder>public void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class ShareContent<ShareLinkContent,ShareLinkContent.Builder>