Android SDK Version
Enclosing class:

public static final class ShareVideo.Builder
extends ShareMedia.Builder<ShareVideo,ShareVideo.Builder>
Builder for the ShareVideo class.
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
ShareVideobuild()
Builds the object.
ShareVideo.BuilderreadFrom(ShareVideo model)
Reads the values from a ShareModel into the builder.
ShareVideo.BuildersetLocalUrl(Uri localUrl)
Sets the URL to locate the video.
Methods inherited from class com.facebook.share.model.
setParameter, setParameters
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

setLocalUrl

public 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.
Returns:
The builder.

build

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

readFrom

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