defaultFactories

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.

Return

The list factories for the tabs that will be displayed in the attachment picker.

Parameters

mediaAttachmentsTabEnabled

If the media attachments tab will be displayed in the picker.

fileAttachmentsTabEnabled

If the file attachments tab will be displayed in the picker.

cameraAttachmentsTabEnabled

If the camera attachments tab will be displayed in the picker.

pollAttachmentsTabEnabled

If the poll attachments tab will be displayed in the picker.