Android SDK Version
All Implemented Interfaces:

Deprecated. 
Sharing to Messenger via the SDK is unsupported. https://developers.facebook.com/docs/messenger-platform/changelog/#20190610. Sharing should be performed by the native share sheet."
@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 TypeClass and Description
static class ShareMessengerMediaTemplateContent.Builder
Deprecated. 
Builder for the ShareMessengerMediaTemplateContent interface.
static class ShareMessengerMediaTemplateContent.MediaType
Deprecated. 
The media type (image or video) for this media template content.
Field Summary
Modifier and TypeField and Description
static <any>CREATOR
Deprecated. 
 
Method Summary
Modifier and TypeMethod and Description
intdescribeContents()
Deprecated. 
 
java.lang.StringgetAttachmentId()
Deprecated. 
Get the attachmentID of the item to share.
ShareMessengerActionButtongetButton()
Deprecated. 
Get the action button to show below the media.
ShareMessengerMediaTemplateContent.MediaTypegetMediaType()
Deprecated. 
Get the media type (image or video) for this content.
UrigetMediaUrl()
Deprecated. 
Get the Facebook URL for this piece of media.
voidwriteToParcel(Parcel dest, int flags)
Deprecated. 
 
Methods inherited from class com.facebook.share.model.
getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

CREATOR

public static final <any> CREATOR
Deprecated. 
Method Detail

getMediaType

public ShareMessengerMediaTemplateContent.MediaType getMediaType()
Deprecated. 
Get the media type (image or video) for this content.

getAttachmentId

public java.lang.String getAttachmentId()
Deprecated. 
Get the attachmentID of the item to share.

getMediaUrl

public Uri getMediaUrl()
Deprecated. 
Get the Facebook URL for this piece of media.

getButton

public ShareMessengerActionButton getButton()
Deprecated. 
Get the action button to show below the media.

describeContents

public int describeContents()
Deprecated. 

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Deprecated.