AttachmentsPickerMediaCaptureTabFactory

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

Constructors

Types

Link copied to clipboard

Define which media type will be allowed.

Properties

Link copied to clipboard

The attachment picker mode that this factory handles.

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 start media capture.

Link copied to clipboard
open override fun PickerTabIcon(isEnabled: Boolean, isSelected: Boolean)

Emits a camera icon for this tab.

Inherited functions

Link copied to clipboard
open fun isPickerTabEnabled(channel: Channel): Boolean

Determines if the picker tab is enabled.