AttachmentPreviewHandler

Represents a handler that can show a preview for an attachment of certain type.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun canHandle(attachment: Attachment): Boolean

Determines if the current preview handler is responsible for showing preview for the given attachment.

Link copied to clipboard
abstract fun handleAttachmentPreview(attachment: Attachment)

Shows a preview for this attachment using the current preview handler.