Package-level declarations

File attachment models and download status.

Types

Link copied to clipboard

The reason an attachment download failed. Carried by DownloadStatus.ERROR.

Link copied to clipboard
abstract class BaseFile(var fileName: String?, var fileSize: Long? = null, var downloadUrl: String? = null, var preview: ByteArray? = null, var data: ByteArray? = null)

Base class for file attachments exchanged in the conversation.

Link copied to clipboard
class DownloadableFile(var id: String, fileName: String?, var status: DownloadStatus, downloadUrl: String? = null, fileSize: Long? = null, preview: ByteArray? = null, data: ByteArray? = null, var downloadProgress: Float = 0.0f) : BaseFile

Represents a downloadable file attachment within an IncomingAttachmentStatement.

Link copied to clipboard
sealed class DownloadStatus

The download status of a DownloadableFile.

Link copied to clipboard

The type of a file attachment.