public static interface BaseChannel.SendFileMessagesWithProgressHandler extends BaseChannel.BaseSendFileMessageHandler
BaseChannel.sendFileMessages(List, SendFileMessagesWithProgressHandler).| Modifier and Type | Method and Description |
|---|---|
void |
onProgress(java.lang.String reqId,
int bytesSent,
int totalBytesSent,
int totalBytesToSend)
A callback for while each file is being uploaded.
|
void |
onResult(SendBirdException e)
A callback for when all
FileMessages are sent. |
onSentvoid onProgress(java.lang.String reqId,
int bytesSent,
int totalBytesSent,
int totalBytesToSend)
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.void onResult(SendBirdException e)
FileMessages are sent.e - null if no error. Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.