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.
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