Android SDK Version
All Implemented Interfaces:

public final class ShareLinkContent
extends ShareContent<ShareLinkContent,ShareLinkContent.Builder>
Describes link content to be shared. Use ShareLinkContent.Builder to build instances. See documentation for best practices.
Nested Class Summary
Modifier and TypeClass and Description
static class ShareLinkContent.Builder
Builder for the ShareLinkContent interface.
Field Summary
Modifier and TypeField and Description
static <any>CREATOR 
Method Summary
Modifier and TypeMethod and Description
intdescribeContents() 
java.lang.StringgetContentDescription()
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.StringgetContentTitle()
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.
UrigetImageUrl()
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.StringgetQuote()
The quoted text to display for this link.
voidwriteToParcel(Parcel out, int flags) 
Methods inherited from class com.facebook.share.model.
getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

CREATOR

public static final <any> CREATOR
Method Detail

getContentDescription

@Deprecated
public 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.
Returns:
The description of the link.

getContentTitle

@Deprecated
public 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.
Returns:
The link title.

getImageUrl

@Deprecated
public 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.
Returns:
The network URL of an image.

getQuote

public java.lang.String getQuote()
The quoted text to display for this link.
Returns:
The text quoted from the link.

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel out,
                          int flags)