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)

Properties

Link copied to clipboard
val assetUrl: String? = null
Link copied to clipboard
val authorLink: String? = null
Link copied to clipboard
val authorName: String? = null
Link copied to clipboard
val cid: String
Link copied to clipboard
val fileSize: Int = 0
Link copied to clipboard
val image: String? = null
Link copied to clipboard
val imageUrl: String? = null
Link copied to clipboard
val isMine: Boolean = false
Link copied to clipboard
Link copied to clipboard
val mimeType: String? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
Link copied to clipboard
val text: String? = null
Link copied to clipboard
val title: String? = null
Link copied to clipboard
val type: String? = null
Link copied to clipboard

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)