ShareLinkContent.Builder
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Builder for the ShareLinkContent interface.

확장:Builder
패키지:model
생성자
ShareLinkContent.Builder()
public ShareLinkContent.Builder()
인스턴스 메서드
setContentDescription(String)

Set the contentDescription of the link.

public Builder setContentDescription(String contentDescription)
매개변수설명
contentDescriptionThe contentDescription of the link.
Returns
The builder.
setContentTitle(String)

Set the contentTitle to display for this link.

public Builder setContentTitle(String contentTitle)
매개변수설명
contentTitleThe link contentTitle.
Returns
The builder.
setImageUrl(Uri)

Set the URL of a picture to attach to this content.

public Builder setImageUrl(Uri imageUrl)
매개변수설명
imageUrlThe network URL of an image.
Returns
The builder.
setQuote(String)

Set the quote to display for this link.

public Builder setQuote(String quote)
매개변수설명
quoteThe text quoted from the link.
Returns
The builder.
build()

Builds the object.

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

Reads the values from a ShareModel into the builder.

public ShareModelBuilder readFrom(ShareModel model)
매개변수설명
modelThe source ShareModel
Returns
The builder.