-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public final class ShareOpenGraphContent.Builder extends ShareContent.Builder<ShareOpenGraphContent, ShareOpenGraphContent.Builder>
Builder for the com.facebook.share.model.ShareOpenGraphContent interface.
-
-
Field Summary
Fields Modifier and Type Field Description private ShareOpenGraphActionactionprivate StringpreviewPropertyName
-
Method Summary
Modifier and Type Method Description ShareOpenGraphContent.BuildersetAction(@Nullable() ShareOpenGraphAction action)Sets the Open Graph Action for the content. ShareOpenGraphContent.BuildersetPreviewPropertyName(@Nullable() String previewPropertyName)Sets the property name for the primary com.facebook.share.model.ShareOpenGraphObject in the action. ShareOpenGraphContentbuild()ShareOpenGraphContent.BuilderreadFrom(ShareOpenGraphContent 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.ShareBuilder
build -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setAction
ShareOpenGraphContent.Builder setAction(@Nullable() ShareOpenGraphAction action)
Sets the Open Graph Action for the content.
- Parameters:
action- com.facebook.share.model.ShareOpenGraphAction
-
setPreviewPropertyName
ShareOpenGraphContent.Builder setPreviewPropertyName(@Nullable() String previewPropertyName)
Sets the property name for the primary com.facebook.share.model.ShareOpenGraphObject in the action.
- Parameters:
previewPropertyName- The property name for the preview object.
-
build
ShareOpenGraphContent build()
-
readFrom
ShareOpenGraphContent.Builder readFrom(ShareOpenGraphContent model)
-
-
-
-