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 ShareStoryContent.
Constructor Summary
ConstructorDescription
ShareStoryContent.Builder()
Method Summary
Modifier and TypeMethodDescription
final ShareStoryContent.BuildersetBackgroundAsset(ShareMedia<?, ?> backgroundAsset) Set the Background Asset to display
final ShareStoryContent.BuildersetStickerAsset(SharePhoto stickerAsset) Set the Sticker Asset to display
final ShareStoryContent.BuildersetBackgroundColorList(List<String> backgroundColorList) Set the background color list to display
final ShareStoryContent.BuildersetAttributionLink(String attributionLink) Set the attribution link
ShareStoryContentbuild() Builds the object.
ShareStoryContent.BuilderreadFrom(ShareStoryContent model) Reads the values from a ShareModel into the builder.
Methods inherited from class com.facebook.share.model.ShareStoryContent.Builder
setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ShareStoryContent.Builder

ShareStoryContent.Builder()
Method Detail

setBackgroundAsset

 final 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

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

setBackgroundColorList

 final 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

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

build

ShareStoryContentbuild()
Builds the object.

readFrom

ShareStoryContent.BuilderreadFrom(ShareStoryContent model)
Reads the values from a ShareModel into the builder.
Parameters:
model - The source ShareModel