ShareContent.Builder
Há uma versão mais recente desta classe disponível. Confira. a versão mais recente.

Abstract builder for ShareContent

Estende:Object
Implementa:ShareModelBuilder
Pacote:model
Construtores
ShareContent.Builder()
public ShareContent.Builder()
Métodos de instância
setContentUrl(Uri)

Set the URL for the content being shared.

public Builder setContentUrl(Uri contentUrl)
ParâmetroDescrição
contentUrlUri representation of the content link.
Returns
The builder.
setPeopleIds(List)

Set the list of Ids for taggable people to tag with this content.

public Builder setPeopleIds(List peopleIds)
ParâmetroDescrição
peopleIdsList of Ids for people to tag.
Returns
The builder.
setPlaceId(String)

Set the Id for a place to tag with this content.

public Builder setPlaceId(String placeId)
ParâmetroDescrição
placeIdThe Id for the place to tag.
Returns
The builder.
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)
ParâmetroDescrição
refThe ref for the content.
Returns
The builder.
readFrom(ShareModel)

Reads the values from a ShareModel into the builder.

public ShareModelBuilder readFrom(ShareModel model)
ParâmetroDescrição
modelThe source ShareModel
Returns
The builder.
readFrom(ShareContent)
public Builder readFrom(ShareContent content)
ParâmetroDescrição
content