ShareLinkContent
Non è disponibile una versione più recente di questa classe. Controlla la versione più recente.

Describes link content to be shared.

Use ShareLinkContent.Builder to build instances.

See documentation for best practices.

Estende:ShareContent
Pacchetto:model
Metodi di istanza
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)
ParametroDescrizione
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.
Costanti
CREATOR
public static final Creator CREATOR