MediaAttachmentPreviewHandler

Shows a preview for the audio/video stream in the attachment using Exoplayer library.

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.