-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder
,com.facebook.share.model.ShareModelBuilder
public final class ShareVideo.Builder extends ShareMedia.Builder<ShareVideo, ShareVideo.Builder>
Builder for the com.facebook.share.model.ShareVideo class.
-
-
Constructor Summary
Constructors Constructor Description ShareVideo.Builder()
-
Method Summary
Modifier and Type Method Description final ShareVideo.Builder
setLocalUrl(Uri localUrl)
Sets the URL to locate the video. ShareVideo
build()
Builds the object. ShareVideo.Builder
readFrom(ShareVideo model)
Reads the values from a ShareModel into the builder. -
-
Method Detail
-
setLocalUrl
final ShareVideo.Builder setLocalUrl(Uri localUrl)
Sets the URL to locate the video.
- Parameters:
localUrl
- android.net.Uri that points to the location of the video on disk.
-
build
ShareVideo build()
Builds the object.
-
readFrom
ShareVideo.Builder readFrom(ShareVideo model)
Reads the values from a ShareModel into the builder.
- Parameters:
model
- The source ShareModel
-
-
-
-