AttachmentsPickerSystemTabFactory

constructor(filesAllowed: Boolean, mediaAllowed: Boolean, captureImageAllowed: Boolean, captureVideoAllowed: Boolean, pollAllowed: Boolean)

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.


constructor(otherFactories: List<AttachmentsPickerTabFactory>)

Deprecated

Use constructor(filesAllowed, mediaAllowed, captureImageAllowed, captureVideoAllowed, pollAllowed) instead.

Replace with

AttachmentsPickerSystemTabFactory(filesAllowed, mediaAllowed, captureImageAllowed, captureVideoAllowed, pollAllowed)

Holds the information required to add support for "files" tab in the attachment picker.

Parameters

otherFactories

A list of other AttachmentsPickerTabFactory used to handle different attachment pickers.