public static final class ShareOpenGraphContent.Builder extends ShareContent.Builder<ShareOpenGraphContent,ShareOpenGraphContent.Builder>
ShareOpenGraphContent interface.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShareOpenGraphContent |
build()
Builds the object.
|
ShareOpenGraphContent.Builder |
readFrom(ShareOpenGraphContent model)
Reads the values from a ShareModel into the builder.
|
ShareOpenGraphContent.Builder |
setAction(ShareOpenGraphAction action)
Sets the Open Graph Action for the content.
|
ShareOpenGraphContent.Builder |
setPreviewPropertyName(java.lang.String previewPropertyName)
Sets the property name for the primary
ShareOpenGraphObject
in the action. |
setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtagpublic ShareOpenGraphContent.Builder setAction(@Nullable ShareOpenGraphAction action)
action - ShareOpenGraphActionpublic ShareOpenGraphContent.Builder setPreviewPropertyName(@Nullable java.lang.String previewPropertyName)
ShareOpenGraphObject
in the action.previewPropertyName - The property name for the preview object.public ShareOpenGraphContent build()
ShareBuilderpublic ShareOpenGraphContent.Builder readFrom(ShareOpenGraphContent model)
ShareModelBuilderreadFrom in interface ShareModelBuilder<ShareOpenGraphContent,ShareOpenGraphContent.Builder>readFrom in class ShareContent.Builder<ShareOpenGraphContent,ShareOpenGraphContent.Builder>model - The source ShareModel