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


public final class ShareMediaContent.Builder
extends ShareContent.Builder<ShareMediaContent, ShareMediaContent.Builder>
                    
Builder for the SharePhotoContent interface.
Constructor Summary
ConstructorDescription
ShareMediaContent.Builder()
Method Summary
Modifier and TypeMethodDescription
final ShareMediaContent.BuilderaddMedium(ShareMedia<?, ?> medium) Adds a medium to the content.
final ShareMediaContent.BuilderaddMedia(List<ShareMedia<?, ?>> media) Adds multiple media to the content.
ShareMediaContentbuild() Builds the object.
ShareMediaContent.BuilderreadFrom(ShareMediaContent content) Reads the values from a ShareModel into the builder.
final ShareMediaContent.BuildersetMedia(List<ShareMedia<?, ?>> media) Replaces the media for the builder.
Methods inherited from class com.facebook.share.model.ShareMediaContent.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

ShareMediaContent.Builder

ShareMediaContent.Builder()
Method Detail

addMedium

 final ShareMediaContent.BuilderaddMedium(ShareMedia<?, ?> medium)
Adds a medium to the content.
Parameters:

addMedia

 final ShareMediaContent.BuilderaddMedia(List<ShareMedia<?, ?>> media)
Adds multiple media to the content.

build

ShareMediaContentbuild()
Builds the object.

readFrom

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

setMedia

 final ShareMediaContent.BuildersetMedia(List<ShareMedia<?, ?>> media)
Replaces the media for the builder.