Camera.IFaceDetectionListener.OnFaceDetection(Camera+Face[], Camera) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Notify the listener of the detected faces in the preview frame.
[Android.Runtime.Register("onFaceDetection", "([Landroid/hardware/Camera$Face;Landroid/hardware/Camera;)V", "GetOnFaceDetection_arrayLandroid_hardware_Camera_Face_Landroid_hardware_Camera_Handler:Android.Hardware.Camera/IFaceDetectionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnFaceDetection (Android.Hardware.Camera.Face[]? faces, Android.Hardware.Camera? camera);
[<Android.Runtime.Register("onFaceDetection", "([Landroid/hardware/Camera$Face;Landroid/hardware/Camera;)V", "GetOnFaceDetection_arrayLandroid_hardware_Camera_Face_Landroid_hardware_Camera_Handler:Android.Hardware.Camera/IFaceDetectionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnFaceDetection : Android.Hardware.Camera.Face[] * Android.Hardware.Camera -> unit
Parameters
- faces
- Camera.Face[]
The detected faces in a list
- Attributes
Remarks
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.