-
public final class ShareToMessengerParamsParameters used by MessengerUtils for sending the media to Messenger to share. See developer docs for more info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classShareToMessengerParams.Companion
-
Method Summary
Modifier and Type Method Description final UrigetUri()The URI of the local image, video, or audio clip to send to messenger. final StringgetMimeType()The mime type of the content. final StringgetMetaData()The metadata to attach to the content to shared. final UrigetExternalUri()An external URI that Messenger can use to download the content on Facebook's servers instead of requiring the Messenger application to upload the content. -
-
Method Detail
-
getUri
final Uri getUri()
The URI of the local image, video, or audio clip to send to messenger. Must be a file://, content://, or res:// URI.
-
getMimeType
final String getMimeType()
The mime type of the content. See .VALID_MIME_TYPES for what mime types are supported.
-
getMetaData
final String getMetaData()
The metadata to attach to the content to shared. See developer docs for more info.
-
getExternalUri
final Uri getExternalUri()
An external URI that Messenger can use to download the content on Facebook's servers instead of requiring the Messenger application to upload the content. The content returned by the this URI must be exactly the same as the content specified by .uri. If the content is different, Messenger may fail to send the content. See developer docs for more info.
-
-
-
-