Describes link content to be shared.
Use ShareLinkContent.Builder to build instances.
See documentation for best practices.
Estende: | ShareContent |
Pacchetto: | 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()
getContentTitle()
The title to display for this link.
public String getContentTitle()
getImageUrl()
The URL of a picture to attach to this content.
public Uri getImageUrl()
getQuote()
The quoted text to display for this link.
public String getQuote()
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
Parametro | Descrizione |
---|---|
dest | The Parcel in which the object should be written. |
flags | Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE. |
CREATOR
public static final Creator CREATOR