-
- All Implemented Interfaces:
-
android.os.Parcelable,com.facebook.share.model.ShareModel
public final class ShareStoryContent extends ShareContent<ShareStoryContent, ShareStoryContent.Builder>
Describes content (video, photo, sticker) to be shared into story.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classShareStoryContent.BuilderBuilder for the ShareStoryContent.
public classShareStoryContent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ShareMedia<?, ?>backgroundAssetprivate final SharePhotostickerAssetprivate final List<String>backgroundColorListprivate final StringattributionLinkprivate final UricontentUrlprivate final List<String>peopleIdsprivate final StringplaceIdprivate final StringpageIdprivate final Stringrefprivate final ShareHashtagshareHashtag
-
Method Summary
Modifier and Type Method Description final ShareMedia<?, ?>getBackgroundAsset()The background asset of the story, could be a photo or video final SharePhotogetStickerAsset()The sticker asset of the story, should be a photo final List<String>getBackgroundColorList()final StringgetAttributionLink()The link that set by 3rd party app 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)-
-
Method Detail
-
getBackgroundAsset
final ShareMedia<?, ?> getBackgroundAsset()
The background asset of the story, could be a photo or video
-
getStickerAsset
final SharePhoto getStickerAsset()
The sticker asset of the story, should be a photo
-
getBackgroundColorList
final List<String> getBackgroundColorList()
-
getAttributionLink
final String getAttributionLink()
The link that set by 3rd party app
-
getContentUrl
final Uri getContentUrl()
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 String getPlaceId()
The Id for a place to tag with this content.
-
getPageId
final String getPageId()
For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.
-
getRef
final String getRef()
A value to be added to the referrer URL when a person follows a link from this shared content on feed.
-
getShareHashtag
final ShareHashtag getShareHashtag()
Gets the ShareHashtag, if one has been set, for this content.
-
describeContents
Integer describeContents()
-
writeToParcel
Unit writeToParcel(Parcel out, Integer flags)
-
-
-
-