public final class ShareLinkContent extends ShareContent<ShareLinkContent,ShareLinkContent.Builder>
ShareLinkContent.Builder to build instances.
See documentation for best practices.| Modifier and Type | Class and Description |
|---|---|
static class |
ShareLinkContent.Builder
Builder for the
ShareLinkContent interface. |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ShareLinkContent> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getContentDescription()
The description of the link.
|
java.lang.String |
getContentTitle()
The title to display for this link.
|
android.net.Uri |
getImageUrl()
The URL of a picture to attach to this content.
|
java.lang.String |
getQuote()
The quoted text to display for this link.
|
void |
writeToParcel(android.os.Parcel out,
int flags) |
getContentUrl, getPeopleIds, getPlaceId, getRef, getShareHashtagpublic static final android.os.Parcelable.Creator<ShareLinkContent> CREATOR
public java.lang.String getContentDescription()
@Nullable public java.lang.String getContentTitle()
@Nullable public android.net.Uri getImageUrl()
@Nullable public java.lang.String getQuote()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class ShareContent<ShareLinkContent,ShareLinkContent.Builder>public void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class ShareContent<ShareLinkContent,ShareLinkContent.Builder>