AttachmentsPickerSystemTabFactory

class AttachmentsPickerSystemTabFactory(    mediaAttachmentsTabEnabled: Boolean,     visualMediaAllowMultiple: Boolean,     visualMediaType: VisualMediaType,     fileAttachmentsTabEnabled: Boolean,     cameraAttachmentsTabEnabled: Boolean,     pollAttachmentsTabEnabled: Boolean) : AttachmentsPickerTabFactory

An attachment factory that creates a tab with the few icons and uses system pickers instead.

Parameters

mediaAttachmentsTabEnabled

If the option to pick media (images/videos) is included in the attachments picker.

visualMediaAllowMultiple

If true, multiple visual media items can be selected.

visualMediaType

The types of visual media that can be picked.

fileAttachmentsTabEnabled

If the option to pick files is included in the attachments picker.

cameraAttachmentsTabEnabled

If the option to capture an image/video is included in the attachments picker.

pollAttachmentsTabEnabled

If the option to create a poll is included in the attachments picker.

Constructors

Link copied to clipboard
constructor(    mediaAttachmentsTabEnabled: Boolean,     visualMediaAllowMultiple: Boolean,     visualMediaType: VisualMediaType,     fileAttachmentsTabEnabled: Boolean,     cameraAttachmentsTabEnabled: Boolean,     pollAttachmentsTabEnabled: Boolean)

Functions

Link copied to clipboard
open override fun createTabFragment(style: AttachmentsPickerDialogStyle, attachmentsPickerTabListener: AttachmentsPickerTabListener): Fragment

Create the tab fragment.

Link copied to clipboard

Create the tab icon.