AttachmentSystemPickerParams

data class AttachmentSystemPickerParams(val channel: Channel, val messageMode: MessageMode, val attachments: List<AttachmentPickerItemState>, val actions: AttachmentPickerActions, val onUrisSelected: (List<Uri>) -> Unit, val onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Parameters for ChatComponentFactory.AttachmentSystemPicker.

Parameters

channel

Used to check channel capabilities.

messageMode

Used to filter modes.

attachments

Current attachment state.

actions

The attachment picker actions.

onUrisSelected

Called with URIs from system pickers.

onAttachmentsSubmitted

Called when camera-captured media is ready.

Constructors

Link copied to clipboard
constructor(channel: Channel, messageMode: MessageMode, attachments: List<AttachmentPickerItemState>, actions: AttachmentPickerActions, onUrisSelected: (List<Uri>) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard