defaultFactories

fun defaultFactories(imagesTabEnabled: Boolean = true, filesTabEnabled: Boolean = true, takeImageEnabled: Boolean = true, recordVideoEnabled: Boolean = true): List<AttachmentsPickerTabFactory>

Builds the default list of attachment picker tab factories.

Return

The default list of attachment picker tab factories.

Parameters

imagesTabEnabled

If the factory that allows users to pick images is included in the resulting list.

filesTabEnabled

If the factory that allows users to pick files is included in the resulting list.

takeImageEnabled

If the factory that allows users to start image capture is included in the resulting list.

recordVideoEnabled

If the factory that allows users to start video capture is included in the resulting list.