Abstract builder for ShareContent
拡張: | Object |
実装: | ShareModelBuilder |
パッケージ: | model |
setContentUrl(Uri)
Set the URL for the content being shared.
public Builder setContentUrl(Uri contentUrl)
パラメーター | 説明 |
---|---|
contentUrl | Uri representation of the content link. |
setPeopleIds(List)
Set the list of Ids for taggable people to tag with this content.
public Builder setPeopleIds(List peopleIds)
パラメーター | 説明 |
---|---|
peopleIds | List of Ids for people to tag. |
setPlaceId(String)
Set the Id for a place to tag with this content.
public Builder setPlaceId(String placeId)
パラメーター | 説明 |
---|---|
placeId | The Id for the place to tag. |
setRef(String)
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.
public Builder setRef(String ref)
パラメーター | 説明 |
---|---|
ref | The ref for the content. |
readFrom(ShareModel)
Reads the values from a ShareModel into the builder.
public ShareModelBuilder readFrom(ShareModel model)
パラメーター | 説明 |
---|---|
model | The source ShareModel |
readFrom(ShareContent)
public Builder readFrom(ShareContent content)
パラメーター | 説明 |
---|---|
content |