-
- 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 Type Method Description 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
getContentUrl$module, getHashtag$module, getPageId$module, getPeopleIds$module, getPlaceId$module, getRef$module, readFrom, setContentUrl, setContentUrl$module, setHashtag$module, setPageId, setPageId$module, setPeopleIds, setPeopleIds$module, setPlaceId, setPlaceId$module, setRef, setRef$module, setShareHashtag -
Methods inherited from class com.facebook.share.model.ShareModelBuilder
readFrom -
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.Builder setBackgroundAsset(ShareMedia backgroundAsset)
Set the Background Asset to display
- Parameters:
backgroundAsset- the background asset of the story, could be a photo or video
-
setStickerAsset
ShareStoryContent.Builder setStickerAsset(SharePhoto stickerAsset)
Set the Sticker Asset to display
- Parameters:
stickerAsset- the sticker asset of the story, should be a photo
-
setBackgroundColorList
ShareStoryContent.Builder setBackgroundColorList(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.Builder setAttributionLink(String attributionLink)
Set the attribution link
- Parameters:
attributionLink- link that set by 3rd party app
-
build
ShareStoryContent build()
-
readFrom
ShareStoryContent.Builder readFrom(ShareStoryContent model)
-
-
-
-