-
public final class ShareToMessengerParams
Parameters 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 class
ShareToMessengerParams.Companion
-
Method Summary
Modifier and Type Method Description final Uri
getUri()
The URI of the local image, video, or audio clip to send to messenger. final String
getMimeType()
The mime type of the content. final String
getMetaData()
The metadata to attach to the content to shared. 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. -
-
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.
-
-
-
-