ProgressMultipleMessagesResult

A result class for BaseChannel.sendFileMessages.

Since

4.15.0

Inheritors

Types

Link copied to clipboard
data class EachFailure<T : BaseMessage>(val failedMessage: T, val e: SendbirdException) : ProgressMultipleMessagesResult<T>

Contains result that the request was failed.

Link copied to clipboard
data class EachSuccess<T : BaseMessage>(val message: T) : ProgressMultipleMessagesResult<T>

Contains an each BaseMessage whenever sending is completed. Whenever an each file message is sent, this data will be delivered.

Link copied to clipboard
data class Pending<T : BaseMessage>(val messages: List<T>) : ProgressMultipleMessagesResult<T>

Contains list of BaseMessage with a start status.

Link copied to clipboard
data class Progress<T>(val reqId: String?, val bytesSent: Int, val totalBytesSent: Int, val totalBytesToSend: Int) : ProgressMultipleMessagesResult<T>

Contained values for progressing information while file is being uploaded.