public static final class ShareStoryContent.Builder extends ShareContent.Builder<ShareStoryContent,ShareStoryContent.Builder>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShareStoryContent |
build()
Builds the object.
|
ShareStoryContent.Builder |
readFrom(ShareStoryContent model)
Reads the values from a ShareModel into the builder.
|
ShareStoryContent.Builder |
setAttributionLink(java.lang.String attributionLink)
Set the attribution link
|
ShareStoryContent.Builder |
setBackgroundAsset(ShareMedia backgroundAsset)
Set the Background Asset to display
|
ShareStoryContent.Builder |
setBackgroundColorList(java.util.List<java.lang.String> backgroundColorList)
Set the background color list to display
|
ShareStoryContent.Builder |
setStickerAsset(SharePhoto stickerAsset)
Set the Sticker Asset to display
|
setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtagpublic ShareStoryContent.Builder setBackgroundAsset(ShareMedia backgroundAsset)
backgroundAsset - the background asset of the story, could be a photo or videopublic ShareStoryContent.Builder setStickerAsset(SharePhoto stickerAsset)
stickerAsset - the sticker asset of the story, should be a photopublic ShareStoryContent.Builder setBackgroundColorList(java.util.List<java.lang.String> backgroundColorList)
backgroundColorList - a list of color which will be draw from top to bottompublic ShareStoryContent.Builder setAttributionLink(java.lang.String attributionLink)
attributionLink - link that set by 3rd party apppublic ShareStoryContent build()
ShareBuilderpublic ShareStoryContent.Builder readFrom(ShareStoryContent model)
ShareModelBuilderreadFrom in interface ShareModelBuilder<ShareStoryContent,ShareStoryContent.Builder>readFrom in class ShareContent.Builder<ShareStoryContent,ShareStoryContent.Builder>model - The source ShareModel