AttachmentsPickerSystemTabFactory
class AttachmentsPickerSystemTabFactory(val config: SystemAttachmentsPickerConfig) : AttachmentsPickerTabFactory
Holds the information required to add support for "files" tab in the attachment picker.
Parameters
config
The configuration for the system attachment picker.
Constructors
Link copied to clipboard
Holds the information required to add support for "files" tab in the attachment picker.
constructor(filesAllowed: Boolean, mediaAllowed: Boolean, captureImageAllowed: Boolean, captureVideoAllowed: Boolean, pollAllowed: Boolean)
Holds the information required to add support for "files" tab in the attachment picker.
Properties
Link copied to clipboard
The attachment picker mode that this factory handles.
Link copied to clipboard
Returns whether capturing images is allowed.
Link copied to clipboard
Returns whether capturing videos is allowed.
Link copied to clipboard
Link copied to clipboard
Returns whether file attachments are allowed.
Link copied to clipboard
Returns whether visual media attachments are allowed.
Link copied to clipboard
Returns whether poll attachments are allowed.
Functions
Link copied to clipboard
open override fun PickerTabContent( onAttachmentPickerAction: (AttachmentPickerAction) -> Unit, attachments: List<AttachmentPickerItemState>, onAttachmentsChanged: (List<AttachmentPickerItemState>) -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)
Emits content that allows users to pick files in this tab.
Link copied to clipboard
Emits a file icon for this tab.