AttachmentsPickerTabFactories

Provides different attachment picker tab factories that build tab icons and tab contents for the attachment picker.

Functions

Link copied to clipboard
fun defaultFactories(imagesTabEnabled: Boolean = true, filesTabEnabled: Boolean = true, takeImageEnabled: Boolean = true, recordVideoEnabled: Boolean = true, pollEnabled: Boolean = true): List<AttachmentsPickerTabFactory>

Builds the default list of attachment picker tab factories.


fun defaultFactoriesWithoutStoragePermissions(filesAllowed: Boolean = true, mediaAllowed: Boolean = true, captureImageAllowed: Boolean = true, captureVideoAllowed: Boolean = true, pollAllowed: Boolean = true): List<AttachmentsPickerTabFactory>

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