Package 

Class MediaAttachmentContentKt

    • Method Detail

      • MediaAttachmentContent

        @Composable()@Deprecated(message = Use the overload that takes onItemClick as a single parameter of type MediaAttachmentClickData., replaceWith = @ReplaceWith(imports = {}, expression = MediaAttachmentContent(state = attachmentState, modifier = modifier, maximumNumberOfPreviewedItems = maximumNumberOfPreviewedItems, skipEnrichUrl = skipEnrichUrl, onItemClick = onItemClick, itemOverlayContent = itemOverlayContent)), level = DeprecationLevel.WARNING) final static Unit MediaAttachmentContent(AttachmentState attachmentState, Modifier modifier, Integer maximumNumberOfPreviewedItems, Boolean skipEnrichUrl, Function8<ManagedActivityResultLauncher<MediaGalleryPreviewContract.Input, MediaGalleryPreviewResult>, Message, Integer, Boolean, DownloadAttachmentUriGenerator, DownloadRequestInterceptor, StreamCdnImageResizing, Boolean, Unit> onItemClick, Function1<String, Unit> itemOverlayContent)

        Displays a preview of single or multiple video or attachments.

        Parameters:
        attachmentState - 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.
      • 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.