Camera.Parameters.FocusModeContinuousPicture Field

Definition

Caution

deprecated

Continuous auto focus mode intended for taking pictures.

[Android.Runtime.Register("FOCUS_MODE_CONTINUOUS_PICTURE")]
[System.Obsolete("deprecated")]
public const string FocusModeContinuousPicture;
[<Android.Runtime.Register("FOCUS_MODE_CONTINUOUS_PICTURE")>]
[<System.Obsolete("deprecated")>]
val mutable FocusModeContinuousPicture : string

Field Value

Attributes

Remarks

Continuous auto focus mode intended for taking pictures. The camera continuously tries to focus. The speed of focus change is more aggressive than #FOCUS_MODE_CONTINUOUS_VIDEO. Auto focus starts when the parameter is set.

Applications can call #autoFocus(AutoFocusCallback) 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, 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.

Java documentation for android.hardware.Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also