-
- 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.
-
-
Method Summary
Modifier and Type Method Description ShareVideo.BuildersetLocalUrl(@Nullable() Uri localUrl)Sets the URL to locate the video. ShareVideobuild()Builds the object. ShareVideo.BuilderreadFrom(ShareVideo model)Reads the values from a ShareModel into the builder. -
Methods inherited from class com.facebook.share.model.ShareMedia.Builder
readFrom, setParameter, setParameters -
Methods inherited from class com.facebook.share.model.ShareModelBuilder
readFrom -
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
-
setLocalUrl
ShareVideo.Builder setLocalUrl(@Nullable() 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
-
-
-
-