Builder class for a concrete instance of AppGroupCreationContent
Mở rộng: | Object |
Triển khai: | ShareModelBuilder |
Gói: | model |
AppGroupCreationContent.Builder()
public AppGroupCreationContent.Builder()
setName(String)
Sets the name of the group that will be created.
public Builder setName(String name)
Thông số | Mô tả |
---|---|
name | Name of the group |
setDescription(String)
Sets the description of the group that will be created.
public Builder setDescription(String description)
Thông số | Mô tả |
---|---|
description | The description |
setAppGroupPrivacy(AppGroupPrivacy)
Sets the privacy for the group that will be created
public Builder setAppGroupPrivacy(AppGroupPrivacy privacy)
Thông số | Mô tả |
---|---|
privacy | Privacy of the group |
build()
Builds the object.
public Object build()
build()
public AppGroupCreationContent 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(AppGroupCreationContent)
public Builder readFrom(AppGroupCreationContent content)
Thông số | Mô tả |
---|---|
content |
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 |