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


public class SharePhotoContent.Builder
extends ShareContent.Builder<SharePhotoContent, SharePhotoContent.Builder>
                    
Builder for the SharePhotoContent interface.
Field Summary
Modifier and TypeFieldDescription
private final List<SharePhoto>photos
Method Summary
Modifier and TypeMethodDescription
SharePhotoContent.BuildersetPhotos(@Nullable() List<SharePhoto> photos) Replaces the photos for the builder.
SharePhotoContent.BuilderaddPhoto(@Nullable() SharePhoto photo) Adds a photo to the content.
SharePhotoContent.BuilderaddPhotos(@Nullable() List<SharePhoto> photos) Adds multiple photos to the content.
SharePhotoContentbuild()
SharePhotoContent.BuilderreadFrom(SharePhotoContent model)
Methods inherited from class com.facebook.share.model.ShareContent.Builder
readFrom, setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, 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

setPhotos

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

addPhoto

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

addPhotos

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