Package 

Object MediaGalleryPreviewActivity.Companion

    • Method Detail

      • getIntent

         final Intent getIntent(Context context, Message message, String selectedAttachmentUrl, Boolean videoThumbnailsEnabled, StreamCdnImageResizing streamCdnImageResizing, Boolean skipEnrichUrl, MediaGalleryConfig config)

        Used to build an Intent to start the MediaGalleryPreviewActivity with the required data.

        Parameters:
        context - The context to start the activity with.
        message - The Message containing the attachments.
        selectedAttachmentUrl - The preview URL of the selected attachment to display first.
        videoThumbnailsEnabled - Whether video thumbnails will be displayed in previews or not.
        streamCdnImageResizing - Sets the Stream CDN hosted image resizing strategy.
        skipEnrichUrl - If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it.
        config - The MediaGalleryConfig for configuring the media gallery.