public static interface BaseChannel.SendFileMessageWithProgressHandler extends BaseChannel.BaseSendFileMessageHandler
BaseChannel.sendFileMessage(File, String, String, int, String, SendFileMessageWithProgressHandler)
.Modifier and Type | Method and Description |
---|---|
void |
onProgress(int bytesSent,
int totalBytesSent,
int totalBytesToSend)
A callback for while file is being uploaded.
|
onSent
void onProgress(int bytesSent, int totalBytesSent, int totalBytesToSend)
bytesSent
- Bytes sent since the last time this callback was called.totalBytesSent
- Total number of bytes sent so far.totalBytesToSend
- Total bytes to send. 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.