Android SDK Version
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
Modifier and TypeClassDescription
public enumShareMessengerMediaTemplateContent.MediaType
The media type (image or video) for this media template content.
public classShareMessengerMediaTemplateContent.Builder
Builder for the ShareMessengerMediaTemplateContent interface.
Field Summary
Method Summary
Modifier and TypeMethodDescription
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
describeContents, getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtag, writeToParcel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getMediaType

ShareMessengerMediaTemplateContent.MediaTypegetMediaType()
Get the media type (image or video) for this content.

getAttachmentId

StringgetAttachmentId()
Get the attachmentID of the item to share.

getMediaUrl

UrigetMediaUrl()
Get the Facebook URL for this piece of media.

getButton

ShareMessengerActionButtongetButton()
Get the action button to show below the media.

describeContents

 int describeContents()

writeToParcel

 void writeToParcel(Parcel dest, int flags)