Attachment
data class Attachment(val id: String, val timestamp: Long = 0, val filename: String, val state: AttachmentState = AttachmentState.QUEUED_DOWNLOAD, val localUri: String? = null, val mediaType: String? = null, val size: Long? = null, val hasSynced: Boolean = false, val metaData: String? = null)
Represents an attachment with metadata and state information.
Properties
Link copied to clipboard
Current state of the attachment, represented as an ordinal of AttachmentState.