Package-level declarations
Types
Link copied to clipboard
An Activity showing attachments such as websites, youtube and giphy.
Link copied to clipboard
Link copied to clipboard
class AttachmentGalleryDestination(context: Context, attachmentReplyOptionHandler: AttachmentGalleryActivity.AttachmentReplyOptionHandler, attachmentShowInChatOptionHandler: AttachmentGalleryActivity.AttachmentShowInChatOptionHandler, attachmentDownloadOptionHandler: AttachmentGalleryActivity.AttachmentDownloadOptionHandler, attachmentDeleteOptionClickHandler: AttachmentGalleryActivity.AttachmentDeleteOptionHandler) : ChatDestination
Link copied to clipboard
data class AttachmentGalleryItem(val attachment: Attachment, val user: User, val createdAt: Date, val messageId: String, val cid: String, val isMine: Boolean)
Link copied to clipboard
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.
Link copied to clipboard
data class AttachmentGalleryViewMediaStyle(val viewMediaPlayVideoButtonIcon: Drawable?, @ColorInt val viewMediaPlayVideoIconTint: Int?, @ColorInt val viewMediaPlayVideoIconBackgroundColor: Int, val viewMediaPlayVideoIconCornerRadius: Float, val viewMediaPlayVideoIconElevation: Float, val viewMediaPlayVideoIconPaddingTop: Int, val viewMediaPlayVideoIconPaddingBottom: Int, val viewMediaPlayVideoIconPaddingStart: Int, val viewMediaPlayVideoIconPaddingEnd: Int, val viewMediaPlayVideoIconWidth: Int, val viewMediaPlayVideoIconHeight: Int, val imagePlaceholder: Drawable?) : ViewStyle
Controls the appearance of the main portion of the attachment gallery used to view media.
Link copied to clipboard
An Activity playing attachments such as audio and video.
Link copied to clipboard
data class MediaAttachmentGridViewStyle(val showUserAvatars: Boolean, val playVideoButtonIcon: Drawable?, @ColorInt val playVideoIconTint: Int?, @ColorInt val playVideoIconBackgroundColor: Int, val playVideoIconCornerRadius: Float, val playVideoIconElevation: Float, val playVideoIconPaddingTop: Int, val playVideoIconPaddingBottom: Int, val playVideoIconPaddingStart: Int, val playVideoIconPaddingEnd: Int, val imagePlaceholder: Drawable?) : ViewStyle
Controls the appearance of MediaAttachmentGridView.
Inherited functions
Link copied to clipboard
Extension to convert instance of AttachmentGalleryResultItem to Attachment type.
Link copied to clipboard
fun Attachment.toAttachmentGalleryResultItem(messageId: String, parentId: String?, cid: String, userName: String, isMine: Boolean): AttachmentGalleryResultItem
Extension to convert instance of Attachment to AttachmentGalleryResultItem type.