public static final class ShareVideo.Builder extends ShareMedia.Builder<ShareVideo,ShareVideo.Builder>
ShareVideo class.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShareVideo |
build()
Builds the object.
|
ShareVideo.Builder |
readFrom(ShareVideo model)
Reads the values from a ShareModel into the builder.
|
ShareVideo.Builder |
setLocalUrl(android.net.Uri localUrl)
Sets the URL to locate the video.
|
setParameter, setParameterspublic ShareVideo.Builder setLocalUrl(@Nullable android.net.Uri localUrl)
localUrl - Uri that points to the location of the video on disk.public ShareVideo build()
ShareBuilderpublic ShareVideo.Builder readFrom(ShareVideo model)
ShareModelBuilderreadFrom in interface ShareModelBuilder<ShareVideo,ShareVideo.Builder>readFrom in class ShareMedia.Builder<ShareVideo,ShareVideo.Builder>model - The source ShareModel