getIntent
Used to build an Intent to start the MediaGalleryPreviewActivity with the required data.
Parameters
The context to start the activity with.
The Message containing the attachments.
The initial position of the clicked media attachment.
Whether video thumbnails will be displayed in previews or not.
Used to generate download URIs for attachments.
Used to intercept download requests.
Sets the Stream CDN hosted image resizing strategy. Turned off by default. Please note that only Stream CDN hosted images containing original width (ow) and original height (oh) parameters are able to be resized.
If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.
The MediaGalleryConfig for configuring the media gallery.