public final class ShareMessengerGenericTemplateElement extends java.lang.Object implements ShareModel
| Modifier and Type | Class and Description |
|---|---|
static class |
ShareMessengerGenericTemplateElement.Builder
Builder for the
ShareMessengerGenericTemplateElement class. |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ShareMessengerGenericTemplateElement> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
ShareMessengerActionButton |
getButton()
Get the button shown on the shared generic template.
|
ShareMessengerActionButton |
getDefaultAction()
Get the default action executed when this shared generic template is tapped.
|
android.net.Uri |
getImageUrl()
Get the image url that will be downloaded and rendered at the top of the generic template.
|
java.lang.String |
getSubtitle()
Get the rendered subtitle for the shared generic template element.
|
java.lang.String |
getTitle()
Get the rendered title for the shared generic template element.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ShareMessengerGenericTemplateElement> CREATOR
public java.lang.String getTitle()
public java.lang.String getSubtitle()
public android.net.Uri getImageUrl()
public ShareMessengerActionButton getDefaultAction()
public ShareMessengerActionButton getButton()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable