UrlAttachmentPreviewHandler

Shows a preview for an URL in the attachment using the Intent.ACTION_VIEW action.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

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

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

Link copied to clipboard
open override fun handleAttachmentPreview(attachment: Attachment)

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