AutoFocusMoveCallback typedef Null safety

  1. @Reference('android_hardware/camera/AutoFocusMoveCallback')
AutoFocusMoveCallback = void Function(bool start)

Callback used to notify on auto focus start and stop.

This is only supported in continuous autofocus modes -- CameraParameters.focusModeContinuousVideo and CameraParameters.focusModeContinuousPicture. Applications can show autofocus animation based on this.

Implementation

@Reference('android_hardware/camera/AutoFocusMoveCallback')
typedef AutoFocusMoveCallback = void Function(bool start);