SharePhotoContent.Builder
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

Builder for the SharePhotoContent interface.

ขยาย:Builder
แพ็คเกจ:model
ผู้สร้าง
Builder()
public Builder()
วิธีการแบบอินสแตนซ์
addPhoto(SharePhoto)

Adds a photo to the content.

public Builder addPhoto(SharePhoto photo)
พารามิเตอร์คำอธิบาย
photoSharePhoto to add.
Returns
The builder.
addPhotos(List)

Adds multiple photos to the content.

public Builder addPhotos(List photos)
พารามิเตอร์คำอธิบาย
photosList of SharePhotos to add.
Returns
The builder.
build()

Builds the object.

public Object build()
Returns
The built object.
build()
public SharePhotoContent build()
readFrom(ShareModel)

Reads the values from a ShareModel into the builder.

public ShareModelBuilder readFrom(ShareModel model)
พารามิเตอร์คำอธิบาย
modelThe source ShareModel
Returns
The builder.
setPhotos(List)

Replaces the photos for the builder.

public Builder setPhotos(List photos)
พารามิเตอร์คำอธิบาย
photosList of SharePhotos to add.
Returns
The builder.