@Deprecated public final class ShareMessengerGenericTemplateContent extends ShareContent<ShareMessengerGenericTemplateContent,ShareMessengerGenericTemplateContent.Builder>
| Modifier and Type | Class and Description |
|---|---|
static class |
ShareMessengerGenericTemplateContent.Builder
Deprecated.
Builder for the
ShareMessengerGenericTemplateContent class. |
static class |
ShareMessengerGenericTemplateContent.ImageAspectRatio
Deprecated.
The aspect ratio for when the image is rendered in the generic template bubble after being
shared
|
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ShareMessengerGenericTemplateContent> |
CREATOR
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ShareMessengerGenericTemplateContent(ShareMessengerGenericTemplateContent.Builder builder)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents()
Deprecated.
|
ShareMessengerGenericTemplateElement |
getGenericTemplateElement()
Deprecated.
Get a generic template element with a title, optional subtitle, optional image, etc.
|
ShareMessengerGenericTemplateContent.ImageAspectRatio |
getImageAspectRatio()
Deprecated.
Get the aspect ratio for when the image is rendered in the generic template bubble after being
shared.
|
boolean |
getIsSharable()
Deprecated.
Get whether or not this generic template message can be shared again after the initial share.
|
void |
writeToParcel(android.os.Parcel out,
int flags)
Deprecated.
|
getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtagpublic static final android.os.Parcelable.Creator<ShareMessengerGenericTemplateContent> CREATOR
protected ShareMessengerGenericTemplateContent(ShareMessengerGenericTemplateContent.Builder builder)
public boolean getIsSharable()
public ShareMessengerGenericTemplateContent.ImageAspectRatio getImageAspectRatio()
public ShareMessengerGenericTemplateElement getGenericTemplateElement()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class ShareContent<ShareMessengerGenericTemplateContent,ShareMessengerGenericTemplateContent.Builder>public void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class ShareContent<ShareMessengerGenericTemplateContent,ShareMessengerGenericTemplateContent.Builder>