AudioRecordingButton

AudioRecordingButton is the mic button for starting/controlling recording gestures.

Internally it handles press/long-press gesture logic, slide-to-cancel and slide-to-lock thresholds, permission prompts, and haptic feedback.

Props

Prop Description Type
buttonSize Mic button size. number
handleLongPress Custom long-press handler. () => void
handlePress Custom press handler. () => void
cancellableDuration Controls whether recording can be canceled by duration/gesture behavior. boolean

Context-backed override props

  • asyncMessagesMinimumPressDuration
  • asyncMessagesSlideToCancelDistance
  • asyncMessagesLockDistance
  • audioRecordingSendOnComplete
  • audioRecorderManager
  • startVoiceRecording
  • deleteVoiceRecording
  • uploadVoiceRecording
  • recording
  • status
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>