Package 

Class MessageComposerAttachmentAudioRecordItemParams

    • Constructor Detail

      • MessageComposerAttachmentAudioRecordItemParams

        MessageComposerAttachmentAudioRecordItemParams(Attachment attachment, AudioPlayerState playerState, Modifier modifier, Function1<Attachment, Unit> onPlayToggleClick, Function1<Attachment, Unit> onPlaySpeedClick, Function1<Attachment, Unit> onThumbDragStart, Function2<Attachment, Float, Unit> onThumbDragStop, Function1<Attachment, Unit> onAttachmentRemoved)
        Parameters:
        attachment - The audio recording attachment to render.
        playerState - Current state of the audio player.
        modifier - Modifier for styling.
        onPlayToggleClick - Called when the play/pause button is tapped.
        onPlaySpeedClick - Called when the playback speed button is tapped.
        onThumbDragStart - Called when the user starts dragging the waveform thumb.
        onThumbDragStop - Called when the user stops dragging, with the target seek fraction.
        onAttachmentRemoved - Called when the attachment is removed by the user.