Condividi tramite


Camera.CancelAutoFocus Method

Definition

Caution

deprecated

Cancels any auto-focus function in progress.

[Android.Runtime.Register("cancelAutoFocus", "()V", "")]
[System.Obsolete("deprecated")]
public void CancelAutoFocus ();
[<Android.Runtime.Register("cancelAutoFocus", "()V", "")>]
[<System.Obsolete("deprecated")>]
member this.CancelAutoFocus : unit -> unit
Attributes

Remarks

Cancels any auto-focus function in progress. Whether or not auto-focus is currently in progress, this function will return the focus position to the default. If the camera does not support auto-focus, this is a no-op.

Java documentation for android.hardware.Camera.cancelAutoFocus().

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

  • <xref:Android.Hardware.Camera.AutoFocus(.IAutoFocusCallback)>