Companion

object Companion

Properties

Link copied to clipboard

Represents the key for the result of the preview, like scrolling to the message.

Functions

Link copied to clipboard
fun getIntent(    context: Context,     message: Message,     attachmentPosition: Int,     videoThumbnailsEnabled: Boolean,     downloadAttachmentUriGenerator: DownloadAttachmentUriGenerator,     downloadRequestInterceptor: DownloadRequestInterceptor,     streamCdnImageResizing: StreamCdnImageResizing = StreamCdnImageResizing.defaultStreamCdnImageResizing(),     skipEnrichUrl: Boolean = false): Intent

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