Builder for the ShareVideoContent interface.
Mở rộng: | Builder |
Gói: | model |
setContentDescription(String)
Sets the description of the video.
public Builder setContentDescription(String contentDescription)
Thông số | Mô tả |
---|---|
contentDescription | The description of the video. |
setContentTitle(String)
Sets the title to display for this video.
public Builder setContentTitle(String contentTitle)
Thông số | Mô tả |
---|---|
contentTitle | The video title. |
setPreviewPhoto(SharePhoto)
Sets the photo to be used as a preview for the video.
public Builder setPreviewPhoto(SharePhoto previewPhoto)
Thông số | Mô tả |
---|---|
previewPhoto | Preview SharePhoto for the content. |
setVideo(ShareVideo)
Sets the video to be shared.
public Builder setVideo(ShareVideo video)
Thông số | Mô tả |
---|---|
video | ShareVideo |
build()
Builds the object.
public Object build()
build()
public ShareVideoContent build()
readFrom(ShareModel)
Reads the values from a ShareModel into the builder.
public ShareModelBuilder readFrom(ShareModel model)
Thông số | Mô tả |
---|---|
model | The source ShareModel |
readFrom(Parcel)
Reads the values from a parcel into the builder. The parcel must have packaged an instance of the ShareModel that came from the same type of builder.
public ShareModelBuilder readFrom(Parcel parcel)
Thông số | Mô tả |
---|---|
parcel | The Parcel that contains the ShareModel. |
readFrom(Parcel)
public Builder readFrom(Parcel parcel)
Thông số | Mô tả |
---|---|
parcel |