Android SDK Version
All Implemented Interfaces:
com.facebook.share.ShareBuilder , com.facebook.share.model.ShareModelBuilder


public final class ShareStoryContent.Builder
extends ShareContent.Builder<ShareStoryContent, ShareStoryContent.Builder>
                    
Builder for the {@Story ShareStoryContent} interface.
Method Summary
Modifier and TypeMethodDescription
ShareStoryContent.BuildersetBackgroundAsset(ShareMedia backgroundAsset) Set the Background Asset to display
ShareStoryContent.BuildersetStickerAsset(SharePhoto stickerAsset) Set the Sticker Asset to display
ShareStoryContent.BuildersetBackgroundColorList(List<String> backgroundColorList) Set the background color list to display
ShareStoryContent.BuildersetAttributionLink(String attributionLink) Set the attribution link
ShareStoryContentbuild()
ShareStoryContent.BuilderreadFrom(ShareStoryContent model)
Methods inherited from class com.facebook.share.model.ShareContent.Builder
readFrom, setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtag
Methods inherited from class com.facebook.share.ShareBuilder
build
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

setBackgroundAsset

ShareStoryContent.BuildersetBackgroundAsset(ShareMedia backgroundAsset)
Set the Background Asset to display
Parameters:
backgroundAsset - the background asset of the story, could be a photo or video

setStickerAsset

ShareStoryContent.BuildersetStickerAsset(SharePhoto stickerAsset)
Set the Sticker Asset to display
Parameters:
stickerAsset - the sticker asset of the story, should be a photo

setBackgroundColorList

ShareStoryContent.BuildersetBackgroundColorList(List<String> backgroundColorList)
Set the background color list to display
Parameters:
backgroundColorList - a list of color which will be draw from top to bottom

setAttributionLink

ShareStoryContent.BuildersetAttributionLink(String attributionLink)
Set the attribution link
Parameters:
attributionLink - link that set by 3rd party app