Sdílet prostřednictvím


Camera.AutoFocus(Camera+IAutoFocusCallback) Method

Definition

Caution

deprecated

Starts camera auto-focus and registers a callback function to run when the camera is focused.

[Android.Runtime.Register("autoFocus", "(Landroid/hardware/Camera$AutoFocusCallback;)V", "")]
[System.Obsolete("deprecated")]
public void AutoFocus (Android.Hardware.Camera.IAutoFocusCallback? cb);
[<Android.Runtime.Register("autoFocus", "(Landroid/hardware/Camera$AutoFocusCallback;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.AutoFocus : Android.Hardware.Camera.IAutoFocusCallback -> unit

Parameters

cb
Camera.IAutoFocusCallback

the callback to run

Attributes

Remarks

Java documentation for android.hardware.Camera.autoFocus(android.hardware.AutoFocusCallback).

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