共用方式為


Camera.SetFaceDetectionListener(Camera+IFaceDetectionListener) Method

Definition

Caution

deprecated

Registers a listener to be notified about the faces detected in the preview frame.

[Android.Runtime.Register("setFaceDetectionListener", "(Landroid/hardware/Camera$FaceDetectionListener;)V", "")]
[System.Obsolete("deprecated")]
public void SetFaceDetectionListener (Android.Hardware.Camera.IFaceDetectionListener? listener);
[<Android.Runtime.Register("setFaceDetectionListener", "(Landroid/hardware/Camera$FaceDetectionListener;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.SetFaceDetectionListener : Android.Hardware.Camera.IFaceDetectionListener -> unit

Parameters

listener
Camera.IFaceDetectionListener

the listener to notify

Attributes

Remarks

Java documentation for android.hardware.Camera.setFaceDetectionListener(android.hardware.FaceDetectionListener).

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