Package 

Class ShareToMessengerParamsBuilder

    • Method Summary

      Modifier and Type Method Description
      Uri getUri() Gets the URI of the local image, video, or audio clip to send to messenger.
      String getMimeType() Gets the mime type of the content.
      ShareToMessengerParamsBuilder setMetaData(String metaData) Sets the metadata to attach to the content to shared.
      String getMetaData() Gets the metadata to attach to the content to shared.
      ShareToMessengerParamsBuilder setExternalUri(Uri externalUri) Sets an external URI that Messenger can use to download the content on Facebook's serversinstead of requiring the Messenger application to upload the content.
      Uri getExternalUri() Gets an external URI that Messenger can use to download the content on Facebook's serversinstead of requiring the Messenger application to upload the content.
      ShareToMessengerParams build() Builds the parameter object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUri

         Uri getUri()

        Gets the URI of the local image, video, or audio clip to send to messenger. Must be a file://,content://, or res:// URI.

      • getMetaData

         String getMetaData()

        Gets the metadata to attach to the content to shared. See developer docs for more info.

      • setExternalUri

         ShareToMessengerParamsBuilder setExternalUri(Uri externalUri)

        Sets an external URI that Messenger can use to download the content on Facebook's serversinstead of requiring the Messenger application to upload the content. The content returned bythe this URI must be exactly the same as the content specified by getUri. If thecontent is different, Messenger may fail to send the content. See developer docs for more info.

        Parameters:
        externalUri - the external uri to set
      • getExternalUri

         Uri getExternalUri()

        Gets an external URI that Messenger can use to download the content on Facebook's serversinstead of requiring the Messenger application to upload the content. The content returned bythe this URI must be exactly the same as the content specified by getUri. If thecontent is different, Messenger may fail to send the content. See developer docs for more info.