Android SDK Version
All Implemented Interfaces:
android.os.Parcelable , com.facebook.share.model.ShareModel


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 TypeClassDescription
public final classShareLinkContent.Builder
Builder for the ShareLinkContent interface.
public classShareLinkContent.Companion
Field Summary
Modifier and TypeFieldDescription
private final Stringquote
private final UricontentUrl
private final List<String>peopleIds
private final StringplaceId
private final StringpageId
private final Stringref
private final ShareHashtagshareHashtag
Method Summary
Modifier and TypeMethodDescription
final StringgetQuote() The quoted text to display for this link.
final UrigetContentUrl() URL for the content being shared.
final List<String>getPeopleIds() List of Ids for taggable people to tag with this content.
final StringgetPlaceId() The Id for a place to tag with this content.
final StringgetPageId() For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.
final StringgetRef() A value to be added to the referrer URL when a person follows a link from this shared content on feed.
final ShareHashtaggetShareHashtag() Gets the ShareHashtag, if one has been set, for this content.
IntegerdescribeContents()
UnitwriteToParcel(Parcel out, Integer flags)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getQuote

 final StringgetQuote()
The quoted text to display for this link.

getContentUrl

 final UrigetContentUrl()
URL for the content being shared. This URL will be checked for app link meta tags for linking in platform specific ways.
See documentation for AppLinks.

getPeopleIds

 final List<String> getPeopleIds()
List of Ids for taggable people to tag with this content.
See documentation for Taggable Friends .

getPlaceId

 final StringgetPlaceId()
The Id for a place to tag with this content.

getPageId

 final StringgetPageId()
For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.

getRef

 final StringgetRef()
A value to be added to the referrer URL when a person follows a link from this shared content on feed.

getShareHashtag

 final ShareHashtaggetShareHashtag()
Gets the ShareHashtag, if one has been set, for this content.

describeContents

IntegerdescribeContents()

writeToParcel

UnitwriteToParcel(Parcel out, Integer flags)