defaultFactoriesWithoutStoragePermissions
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).
Parameters
filesAllowed
If the option to pick files is included in the attachments picker.
mediaAllowed
If the option to pick media (images/videos) is included in the attachments picker.
captureImageAllowed
If the option to capture an image is included in the attachments picker.
captureVideoAllowed
If the option to capture a video is included in the attachments picker.
pollAllowed
If the option to create a poll is included in the attachments picker.
Deprecated
Use defaultFactoriesWithoutStoragePermissions(filesAllowed: Boolean, mediaAllowed: Boolean = true, captureImageAllowed: Boolean, captureVideoAllowed: Boolean, pollAllowed: Boolean = true) instead.
Replace with
defaultFactoriesWithoutStoragePermissions(filesAllowed, mediaAllowed, captureImageAllowed, captureVideoAllowed, pollAllowed)
Content copied to clipboard