Android SDK Version
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
ShareOpenGraphContentbuild()
Builds the object.
ShareOpenGraphContent.BuilderreadFrom(ShareOpenGraphContent model)
Reads the values from a ShareModel into the builder.
ShareOpenGraphContent.BuildersetAction(ShareOpenGraphAction action)
Sets the Open Graph Action for the content.
ShareOpenGraphContent.BuildersetPreviewPropertyName(java.lang.String previewPropertyName)
Sets the property name for the primary ShareOpenGraphObject in the action.
Methods inherited from class com.facebook.share.model.
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

Builder

public Builder()
Method Detail

setAction

public ShareOpenGraphContent.Builder setAction(ShareOpenGraphAction action)
Sets the Open Graph Action for the content.
Parameters:
Returns:
The builder.

setPreviewPropertyName

public ShareOpenGraphContent.Builder setPreviewPropertyName(java.lang.String previewPropertyName)
Sets the property name for the primary ShareOpenGraphObject in the action.
Parameters:
previewPropertyName - The property name for the preview object.
Returns:
The builder.

build

public ShareOpenGraphContent build()
Description copied from interface: ShareBuilder
Builds the object.
Returns:
The built object.

readFrom

public ShareOpenGraphContent.Builder readFrom(ShareOpenGraphContent model)
Description copied from interface: ShareModelBuilder
Reads the values from a ShareModel into the builder.
Specified by:
Overrides:
Parameters:
model - The source ShareModel
Returns:
The builder.