Package 

Class MediaAttachmentFactory

    • Constructor Detail

      • MediaAttachmentFactory

        MediaAttachmentFactory(Integer maximumNumberOfPreviewedItems, Boolean skipEnrichUrl, Function1<MediaAttachmentClickData, Unit> onContentItemClick, Function1<List<Attachment>, Boolean> canHandle, Function1<String, Unit> itemOverlayContent, Function1<String, Unit> previewItemOverlayContent)
        Parameters:
        maximumNumberOfPreviewedItems - The maximum number of thumbnails that can be displayed in a group when previewing Media attachments in the message list.
        skipEnrichUrl - Used by the media gallery.
        onContentItemClick - Lambda called when an item gets clicked.
        canHandle - Lambda that checks if the factory can handle the given attachments.
        itemOverlayContent - Represents the content overlaid above individual items.
        previewItemOverlayContent - Represents the content overlaid above individual preview items.