Package io.rong.imlib

Class RongIMClient.SendImageMessageWithUploadListenerCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onAttached(Message message, RongIMClient.UploadImageStatusListener watcher) The message has been saved to the database.
      abstract void onError(Message message, RongIMClient.ErrorCode code) Message sending failed.
      void onAttached(Message message, UploadImageStatusListener watcher)
      void onError(Message message, CoreErrorCode code)
      • Methods inherited from class java.lang.Object

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

      • RongIMClient.SendImageMessageWithUploadListenerCallback

        RongIMClient.SendImageMessageWithUploadListenerCallback()
    • Method Detail

      • onAttached

         abstract void onAttached(Message message, RongIMClient.UploadImageStatusListener watcher)

        The message has been saved to the database.

        Parameters:
        message - The message entity after being saved.
        watcher - Used to update the image upload progress.
      • onError

         abstract void onError(Message message, RongIMClient.ErrorCode code)

        Message sending failed.

        Parameters:
        message - The message object that failed to send.
        code - The error code of the failure.
      • onAttached

         void onAttached(Message message, UploadImageStatusListener watcher)
      • onError

         void onError(Message message, CoreErrorCode code)