Android SDK Version
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
SharePhotoContent.BuilderaddPhoto(SharePhoto photo)
Adds a photo to the content.
SharePhotoContent.BuilderaddPhotos(java.util.List<SharePhoto> photos)
Adds multiple photos to the content.
SharePhotoContentbuild()
Builds the object.
SharePhotoContent.BuilderreadFrom(SharePhotoContent model)
Reads the values from a ShareModel into the builder.
SharePhotoContent.BuildersetPhotos(java.util.List<SharePhoto> photos)
Replaces the photos for the builder.
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

addPhoto

public SharePhotoContent.Builder addPhoto(SharePhoto photo)
Adds a photo to the content.
Parameters:
photo - SharePhoto to add.
Returns:
The builder.

addPhotos

public SharePhotoContent.Builder addPhotos(java.util.List<SharePhoto> photos)
Adds multiple photos to the content.
Parameters:
photos - List of SharePhotos to add.
Returns:
The builder.

build

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

readFrom

public SharePhotoContent.Builder readFrom(SharePhotoContent 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.

setPhotos

public SharePhotoContent.Builder setPhotos(java.util.List<SharePhoto> photos)
Replaces the photos for the builder.
Parameters:
photos - List of SharePhotos to add.
Returns:
The builder.