AudioRecordAttachmentFactory
class AudioRecordAttachmentFactory(viewModelFactory: AudioPlayerViewModelFactory, getCurrentUserId: () -> String?, val canHandle: (attachments: List<Attachment>) -> Boolean = { attachments ->
attachments.all(Attachment::isAudioRecording)
}) : AttachmentFactory
An AttachmentFactory that will be used if no other AttachmentFactory can handle the attachments.
Constructors
Link copied to clipboard
constructor(viewModelFactory: AudioPlayerViewModelFactory, getCurrentUserId: () -> String?, canHandle: (attachments: List<Attachment>) -> Boolean = { attachments ->
attachments.all(Attachment::isAudioRecording)
})
Inherited properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val previewContent: @Composable (modifier: Modifier, attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit) -> Unit? = null
Link copied to clipboard
Link copied to clipboard