SystemAttachmentsPickerConfig

constructor(visualMediaAllowed: Boolean = true, visualMediaAllowMultiple: Boolean = false, visualMediaType: VisualMediaType = VisualMediaType.IMAGE_AND_VIDEO, filesAllowed: Boolean = true, captureImageAllowed: Boolean = true, captureVideoAllowed: Boolean = true, pollAllowed: Boolean = true)

Parameters

visualMediaAllowed

If true, visual media items can be selected. Default is true.

visualMediaAllowMultiple

If true, multiple visual media items can be selected. Default is false.

visualMediaType

The types of visual media that can be picked. Default is VisualMediaType.IMAGE_AND_VIDEO.

filesAllowed

If true, files can be selected. Default is true.

captureImageAllowed

If true, images can be captured. Default is true.

captureVideoAllowed

If true, videos can be captured. Default is true.

pollAllowed

If true, polls can be created. Default is true.