-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder
,com.facebook.share.model.ShareModelBuilder
public final class ShareVideoContent.Builder extends ShareContent.Builder<ShareVideoContent, ShareVideoContent.Builder>
Builder for the com.facebook.share.model.ShareVideoContent interface.
-
-
Constructor Summary
Constructors Constructor Description ShareVideoContent.Builder()
-
Method Summary
Modifier and Type Method Description final ShareVideoContent.Builder
setContentDescription(String contentDescription)
Sets the description of the video. final ShareVideoContent.Builder
setContentTitle(String contentTitle)
Sets the title to display for this video. final ShareVideoContent.Builder
setPreviewPhoto(SharePhoto previewPhoto)
Sets the photo to be used as a preview for the video. final ShareVideoContent.Builder
setVideo(ShareVideo video)
Sets the video to be shared. ShareVideoContent
build()
Builds the object. ShareVideoContent.Builder
readFrom(ShareVideoContent content)
Reads the values from a ShareModel into the builder. -
-
Method Detail
-
setContentDescription
final ShareVideoContent.Builder setContentDescription(String contentDescription)
Sets the description of the video.
- Parameters:
contentDescription
- The description of the video.
-
setContentTitle
final ShareVideoContent.Builder setContentTitle(String contentTitle)
Sets the title to display for this video.
- Parameters:
contentTitle
- The video title.
-
setPreviewPhoto
final ShareVideoContent.Builder setPreviewPhoto(SharePhoto previewPhoto)
Sets the photo to be used as a preview for the video.
- Parameters:
previewPhoto
- Preview com.facebook.share.model.SharePhoto for the content.
-
setVideo
final ShareVideoContent.Builder setVideo(ShareVideo video)
Sets the video to be shared.
- Parameters:
video
- com.facebook.share.model.ShareVideo
-
build
ShareVideoContent build()
Builds the object.
-
readFrom
ShareVideoContent.Builder readFrom(ShareVideoContent content)
Reads the values from a ShareModel into the builder.
- Parameters:
content
- The source ShareModel
-
-
-
-