AudioRecordingActions
data class AudioRecordingActions(val onStartRecording: (Offset) -> Unit, val onHoldRecording: (Offset) -> Unit, val onLockRecording: () -> Unit, val onCancelRecording: () -> Unit, val onDeleteRecording: () -> Unit, val onStopRecording: () -> Unit, val onCompleteRecording: (Boolean) -> Unit, val onToggleRecordingPlayback: () -> Unit, val onRecordingSliderDragStart: (Float) -> Unit, val onRecordingSliderDragStop: (Float) -> Unit, val onSendRecording: () -> Unit)
Represents the actions that can be performed on an audio recording.
Constructors
Link copied to clipboard
constructor(onStartRecording: (Offset) -> Unit, onHoldRecording: (Offset) -> Unit, onLockRecording: () -> Unit, onCancelRecording: () -> Unit, onDeleteRecording: () -> Unit, onStopRecording: () -> Unit, onCompleteRecording: (Boolean) -> Unit, onToggleRecordingPlayback: () -> Unit, onRecordingSliderDragStart: (Float) -> Unit, onRecordingSliderDragStop: (Float) -> Unit, onSendRecording: () -> Unit)
Properties
Link copied to clipboard
Handler when the user cancels the recording.
Link copied to clipboard
Handler when the user completes the recording.
Link copied to clipboard
Handler when the user deletes the recording.
Link copied to clipboard
Handler when the user holds the recording button.
Link copied to clipboard
Handler when the user locks the recording.
Link copied to clipboard
Handler when the user starts dragging the recording slider.
Link copied to clipboard
Handler when the user stops dragging the recording slider.
Link copied to clipboard
Handler when the user sends the recording.
Link copied to clipboard
Handler when the user starts recording an audio message.
Link copied to clipboard
Handler when the user stops the recording.
Link copied to clipboard
Handler when the user toggles the recording playback.