This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
MicPositionContext
MicPositionContext provides animated mic anchor coordinates used by recorder gestures.
AudioRecordingButton consumes this context to coordinate lock/cancel drag behavior.
Context Value
micPositionX
Animated shared X position value.
| Type |
|---|
SharedValue<number> |
micPositionY
Animated shared Y position value.
| Type |
|---|
SharedValue<number> |