AttachmentsPickerMediaCaptureTabFactory
class AttachmentsPickerMediaCaptureTabFactory(pickerMediaMode: AttachmentsPickerMediaCaptureTabFactory.PickerMediaMode) : AttachmentsPickerTabFactory
Holds the information required to add support for "media capture" tab in the attachment picker.
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
Emits a camera icon for this tab.