Package 

Interface BaseChannel.SendFileMessagesWithProgressHandler

    • Method Summary

      Modifier and Type Method Description
      abstract void onProgress(String reqId, int bytesSent, int totalBytesSent, int totalBytesToSend) A callback for while each file is being uploaded.
      abstract void onResult(SendBirdException e) A callback for when all FileMessages are sent.
      • Methods inherited from class com.sendbird.android.BaseChannel.BaseSendFileMessageHandler

        onSent
      • Methods inherited from class java.lang.Object

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

      • onProgress

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

        A callback for while each file is being uploaded.

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

         abstract void onResult(SendBirdException e)

        A callback for when all FileMessages are sent.

        Parameters:
        e - null if no error.