AttachmentsPickerTabFactories

Provides the default list of tab factories for the attachment picker.

Functions

Link copied to clipboard
fun defaultFactories(    mediaAttachmentsTabEnabled: Boolean,     fileAttachmentsTabEnabled: Boolean,     cameraAttachmentsTabEnabled: Boolean,     pollAttachmentsTabEnabled: Boolean): List<AttachmentsPickerTabFactory>

Creates a list of factories for the tabs that will be displayed in the attachment picker.

Link copied to clipboard
fun defaultFactoriesWithoutPermissions(    mediaAttachmentsTabEnabled: Boolean,     visualMediaAllowMultiple: Boolean = false,     visualMediaType: VisualMediaType = VisualMediaType.IMAGE_AND_VIDEO,     fileAttachmentsTabEnabled: Boolean,     cameraAttachmentsTabEnabled: Boolean,     pollAttachmentsTabEnabled: Boolean): List<AttachmentsPickerTabFactory>

Builds the default list of attachment picker tab factories (without requesting storage permission).