CapturePhotoCallbacks

interface CapturePhotoCallbacks

Callbacks for a capturePhoto(...) call.

See

CameraPhotoOutput

Properties

onDidCapturePhoto?

optional onDidCapturePhoto?: () => void

Called just after the pipeline captured a photo.


onPreviewImageAvailable?

optional onPreviewImageAvailable?: (previewImage: Image) => void

Called 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, and the CameraDevice supports preview images (see CameraDevice.supportsPreviewImage).


onWillBeginCapture?

optional onWillBeginCapture?: () => void

Called when the pipeline starts the capture.


onWillCapturePhoto?

optional onWillCapturePhoto?: () => void

Called just before the pipeline starts capturing the photo.

On this page