react-native-vision-cameraInterfaces
CapturePhotoCallbacks
interface CapturePhotoCallbacksCallbacks for a capturePhoto(...)
call.
See
Properties
onDidCapturePhoto()?
optional onDidCapturePhoto: () => voidCalled just after the pipeline captured a photo.
onPreviewImageAvailable()?
optional onPreviewImageAvailable: (previewImage: Image) => voidCalled just after onWillBeginCapture
with an Image suitable for preview
or thumbnail updates.
This will only be called if a preview image
size is set via PhotoOutputOptions.previewImageTargetSize.
onWillBeginCapture()?
optional onWillBeginCapture: () => voidCalled when the pipeline starts the capture.
onWillCapturePhoto()?
optional onWillCapturePhoto: () => voidCalled just before the pipeline starts capturing the photo.