Package 

Interface BaseChannel.ResendFileMessageWithProgressHandler

    • Method Summary

      Modifier and Type Method Description
      abstract void onProgress(int bytesSent, int totalBytesSent, int totalBytesToSend) A callback for while file is being uploaded.
      abstract void onSent(FileMessage message, SendBirdException e) A callback for when FileMessage is sent.
      • Methods inherited from class java.lang.Object

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

      • onProgress

         abstract void onProgress(int bytesSent, int totalBytesSent, int totalBytesToSend)

        A callback for while file is being uploaded.

        Parameters:
        bytesSent - Bytes sent since the last time this callback was called.
        totalBytesSent - Total number of bytes sent so far.
        totalBytesToSend - Total bytes to send.
      • onSent

         abstract void onSent(FileMessage message, SendBirdException e)

        A callback for when FileMessage is sent.

        Parameters:
        message - Message sent.
        e - null if no error.