Android SDK Version
All Implemented Interfaces:
com.facebook.share.ShareBuilder , com.facebook.share.model.ShareModelBuilder


public final class SharePhotoContent.Builder
extends ShareContent.Builder<SharePhotoContent, SharePhotoContent.Builder>
                    
Builder for the SharePhotoContent interface.
Constructor Summary
ConstructorDescription
SharePhotoContent.Builder()
Method Summary
Modifier and TypeMethodDescription
final SharePhotoContent.BuilderaddPhoto(SharePhoto photo) Adds a photo to the content.
final SharePhotoContent.BuilderaddPhotos(List<SharePhoto> photos) Adds multiple photos to the content.
SharePhotoContentbuild() Builds the object.
SharePhotoContent.BuilderreadFrom(SharePhotoContent content) Reads the values from a ShareModel into the builder.
final SharePhotoContent.BuildersetPhotos(List<SharePhoto> photos) Replaces the photos for the builder.
Methods inherited from class com.facebook.share.model.SharePhotoContent.Builder
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

SharePhotoContent.Builder

SharePhotoContent.Builder()
Method Detail

addPhoto

 final SharePhotoContent.BuilderaddPhoto(SharePhoto photo)
Adds a photo to the content.
Parameters:

addPhotos

 final SharePhotoContent.BuilderaddPhotos(List<SharePhoto> photos)
Adds multiple photos to the content.
Parameters:

build

SharePhotoContentbuild()
Builds the object.

readFrom

SharePhotoContent.BuilderreadFrom(SharePhotoContent content)
Reads the values from a ShareModel into the builder.
Parameters:
content - The source ShareModel

setPhotos

 final SharePhotoContent.BuildersetPhotos(List<SharePhoto> photos)
Replaces the photos for the builder.
Parameters: