ShareLinkContent

Describes link content to be shared.

Use ShareLinkContent.Builder to build instances.

See documentation for best practices.

Extends:ShareContent
Package:model
Instance Methods
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)
ParameterDescription
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.
Constants
CREATOR
public static final Creator CREATOR