Builder for the ShareLinkContent interface.
Hereda de: | Builder |
Paquete: | model |
setContentDescription(String)
Set the contentDescription of the link.
public Builder setContentDescription(String contentDescription)
Parámetro | Descripción |
---|---|
contentDescription | The contentDescription of the link. |
setContentTitle(String)
Set the contentTitle to display for this link.
public Builder setContentTitle(String contentTitle)
Parámetro | Descripción |
---|---|
contentTitle | The link contentTitle. |
setImageUrl(Uri)
Set the URL of a picture to attach to this content.
public Builder setImageUrl(Uri imageUrl)
Parámetro | Descripción |
---|---|
imageUrl | The network URL of an image. |
build()
Builds the object.
public Object build()
build()
public ShareLinkContent build()
readFrom(ShareModel)
Reads the values from a ShareModel into the builder.
public ShareModelBuilder readFrom(ShareModel model)
Parámetro | Descripción |
---|---|
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)
Parámetro | Descripción |
---|---|
parcel | The Parcel that contains the ShareModel. |
readFrom(Parcel)
public Builder readFrom(Parcel parcel)
Parámetro | Descripción |
---|---|
parcel |