focusModeContinuousPicture constant

String const focusModeContinuousPicture

Continuous auto focus mode intended for taking pictures.

The camera continuously tries to focus. The speed of focus change is more aggressive than focusModeContinuousVideo. Auto focus starts when the parameter is set.

Applications can call Camera.autoFocus in this mode. If the autofocus is in the middle of scanning, the focus callback will return when it completes. If the autofocus is not scanning, the focus callback will immediately return with a boolean that indicates whether the focus is sharp or not. The apps can then decide if they want to take a picture immediately or to change the focus mode to auto, and run a full autoFocus cycle. The focus position is locked after autoFocus call. If applications want to resume the continuous focus, Camera.cancelAutoFocus must be called. Restarting the preview will not resume the continuous autoFocus. To stop continuous focus, applications should change the focus mode to other modes.

Implementation

static const String focusModeContinuousPicture = 'continuous-picture';