Package 

Class ShareToMessengerParams

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

      • 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.