AttachmentMediaPickerParams

constructor(pickerMode: GalleryPickerMode, attachments: List<AttachmentPickerItemState>, onLoadAttachments: () -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit)

Parameters

pickerMode

Configuration for the gallery picker.

attachments

Media items to display.

onLoadAttachments

Called to trigger loading media metadata.

onAttachmentItemSelected

Called when user taps an item.