Android SDK Version
Enclosing class:

public static final class ShareVideoContent.Builder
extends ShareContent.Builder<ShareVideoContent,ShareVideoContent.Builder>
Builder for the ShareVideoContent interface.
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
ShareVideoContentbuild()
Builds the object.
ShareVideoContent.BuilderreadFrom(ShareVideoContent model)
Reads the values from a ShareModel into the builder.
ShareVideoContent.BuildersetContentDescription(java.lang.String contentDescription)
Sets the description of the video.
ShareVideoContent.BuildersetContentTitle(java.lang.String contentTitle)
Sets the title to display for this video.
ShareVideoContent.BuildersetPreviewPhoto(SharePhoto previewPhoto)
Sets the photo to be used as a preview for the video.
ShareVideoContent.BuildersetVideo(ShareVideo video)
Sets the video to be shared.
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

setContentDescription

public ShareVideoContent.Builder setContentDescription(java.lang.String contentDescription)
Sets the description of the video.
Parameters:
contentDescription - The description of the video.
Returns:
The builder.

setContentTitle

public ShareVideoContent.Builder setContentTitle(java.lang.String contentTitle)
Sets the title to display for this video.
Parameters:
contentTitle - The video title.
Returns:
The builder.

setPreviewPhoto

public ShareVideoContent.Builder setPreviewPhoto(SharePhoto previewPhoto)
Sets the photo to be used as a preview for the video.
Parameters:
previewPhoto - Preview SharePhoto for the content.
Returns:
The builder.

setVideo

public ShareVideoContent.Builder setVideo(ShareVideo video)
Sets the video to be shared.
Parameters:
video - ShareVideo
Returns:
The builder.

build

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

readFrom

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