public static interface BaseChannel.ResendFileMessageWithProgressHandler
BaseChannel.resendFileMessage(FileMessage, File, ResendFileMessageWithProgressHandler).| Modifier and Type | Method and Description |
|---|---|
void |
onProgress(int bytesSent,
int totalBytesSent,
int totalBytesToSend)
A callback for while file is being uploaded.
|
void |
onSent(FileMessage message,
SendBirdException e)
A callback for when
FileMessage is sent. |
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.void onSent(FileMessage message, SendBirdException e)
FileMessage is sent.message - Message 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.