MediaAttachmentFactory
An AttachmentFactory that is able to handle Image and Video attachments.
Parameters
The maximum number of thumbnails that can be displayed in a group when previewing Media attachments in the message list. Values between 4 and 8 are optimal.
Used by the media gallery. 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.
Lambda called when an item gets clicked.
Lambda that checks if the factory can handle the given attachments.
Represents the content overlaid above individual items. By default it is used to display a play button over video previews.
Represents the content overlaid above individual preview items. By default it is used to display a play button over video previews.
Constructors
Creates a new instance of MediaAttachmentFactory with the default parameters.