-
- All Implemented Interfaces:
-
android.os.Parcelable,com.facebook.share.model.ShareModel
@Deprecated() public final class ShareMessengerMediaTemplateContent extends ShareContent<ShareMessengerMediaTemplateContent, ShareMessengerMediaTemplateContent.Builder>
Provides a data model class for Messenger Media Template content to be shared.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumShareMessengerMediaTemplateContent.MediaTypeThe media type (image or video) for this media template content.
public classShareMessengerMediaTemplateContent.BuilderBuilder for the ShareMessengerMediaTemplateContent interface.
-
Field Summary
Fields Modifier and Type Field Description private final ShareMessengerMediaTemplateContent.MediaTypemediaTypeprivate final StringattachmentIdprivate final UrimediaUrlprivate final ShareMessengerActionButtonbuttonpublic final static Parcelable.Creator<ShareMessengerMediaTemplateContent>CREATOR
-
Method Summary
Modifier and Type Method Description ShareMessengerMediaTemplateContent.MediaTypegetMediaType()Get the media type (image or video) for this content. StringgetAttachmentId()Get the attachmentID of the item to share. UrigetMediaUrl()Get the Facebook URL for this piece of media. ShareMessengerActionButtongetButton()Get the action button to show below the media. intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
Methods inherited from class com.facebook.share.model.ShareContent
getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtag, writeToParcel -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMediaType
ShareMessengerMediaTemplateContent.MediaType getMediaType()
Get the media type (image or video) for this content.
-
getAttachmentId
String getAttachmentId()
Get the attachmentID of the item to share.
-
getMediaUrl
Uri getMediaUrl()
Get the Facebook URL for this piece of media.
-
getButton
ShareMessengerActionButton getButton()
Get the action button to show below the media.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-