FinishProcessingPhotoCallback typedef Null safety

  1. @Reference('av_foundation/av_foundation/FinishProcessingPhotoCallback')
FinishProcessingPhotoCallback = void Function(CapturePhoto photo)

Callback when a photo finishes processing.

photo is always non-null: if an error prevented successful capture, this object still contains metadata for the intended capture.

See: CapturePhotoCaptureDelegate.didFinishProcessingPhoto

Implementation

@Reference('av_foundation/av_foundation/FinishProcessingPhotoCallback')
typedef FinishProcessingPhotoCallback = void Function(CapturePhoto photo);