Share via


Camera.IAutoFocusMoveCallback.OnAutoFocusMoving(Boolean, Camera) Method

Definition

Caution

deprecated

Called when the camera auto focus starts or stops.

[Android.Runtime.Register("onAutoFocusMoving", "(ZLandroid/hardware/Camera;)V", "GetOnAutoFocusMoving_ZLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IAutoFocusMoveCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnAutoFocusMoving (bool start, Android.Hardware.Camera? camera);
[<Android.Runtime.Register("onAutoFocusMoving", "(ZLandroid/hardware/Camera;)V", "GetOnAutoFocusMoving_ZLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IAutoFocusMoveCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnAutoFocusMoving : bool * Android.Hardware.Camera -> unit

Parameters

start
Boolean

true if focus starts to move, false if focus stops to move

camera
Camera

the Camera service object

Attributes

Remarks

Called when the camera auto focus starts or stops.

Java documentation for android.hardware.Camera.AutoFocusMoveCallback.onAutoFocusMoving(boolean, android.hardware.Camera).

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