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

Describes link content to be shared.

Use ShareLinkContent.Builder to build instances.

See documentation for best practices.

확장:ShareContent
패키지:model
인스턴스 메서드
getContentDescription()

The description of the link. If not specified, this field is automatically populated by information scraped from the link, typically the title of the page.

public String getContentDescription()
Returns
The description of the link.
getContentTitle()

The title to display for this link.

public String getContentTitle()
Returns
The link title.
getImageUrl()

The URL of a picture to attach to this content.

public Uri getImageUrl()
Returns
The network URL of an image.
getQuote()

The quoted text to display for this link.

public String getQuote()
Returns
The text quoted from the link.
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
매개변수설명
destThe Parcel in which the object should be written.
flagsAdditional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
상수
CREATOR
public static final Creator CREATOR