Package 

Class MediaAttachmentContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MediaAttachmentContent(AttachmentState state, Modifier modifier, Integer maximumNumberOfPreviewedItems, Boolean skipEnrichUrl, Function1<MediaAttachmentClickData, Unit> onItemClick, Function1<String, Unit> itemOverlayContent) Displays a preview of single or multiple video or attachments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • MediaAttachmentContent

        @Composable() final static Unit MediaAttachmentContent(AttachmentState state, Modifier modifier, Integer maximumNumberOfPreviewedItems, Boolean skipEnrichUrl, Function1<MediaAttachmentClickData, Unit> onItemClick, Function1<String, Unit> itemOverlayContent)

        Displays a preview of single or multiple video or attachments.

        Parameters:
        state - The state of the attachment, holding the root modifier, the message and the onLongItemClick handler.
        modifier - The modifier used for styling.
        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.
        onItemClick - Lambda called when an item gets clicked.
        itemOverlayContent - Represents the content overlaid above individual items.