canHandle

open override fun canHandle(attachment: Attachment): Boolean

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

Return

True if the current handler can provide a preview for this attachment.

Parameters

attachment

The attachment we want to show the preview for.