AttachmentGalleryResultItem
data class AttachmentGalleryResultItem(val messageId: String, val parentId: String?, val cid: String, val userName: String, val isMine: Boolean = false, val authorName: String? = null, val authorLink: String? = null, val imageUrl: String? = null, val assetUrl: String? = null, val mimeType: String? = null, val fileSize: Int = 0, val title: String? = null, val text: String? = null, val type: String? = null, val image: String? = null, val name: String? = null) : Parcelable
Parcelable data class that represents Attachment in AttachmentGalleryActivity as result some operation. See click listeners of AttachmentGalleryActivity.
Constructors
Link copied to clipboard
constructor(messageId: String, parentId: String?, cid: String, userName: String, isMine: Boolean = false, authorName: String? = null, authorLink: String? = null, imageUrl: String? = null, assetUrl: String? = null, mimeType: String? = null, fileSize: Int = 0, title: String? = null, text: String? = null, type: String? = null, image: String? = null, name: String? = null)
Inherited functions
Link copied to clipboard
Link copied to clipboard
Extension to convert instance of AttachmentGalleryResultItem to Attachment type.
Link copied to clipboard