# Print output for @column tags ?> Camera.FaceDetectionListener - Android SDK | Android Developers

Most visited

Recently visited

Camera.FaceDetectionListener

public static interface Camera.FaceDetectionListener

android.hardware.Camera.FaceDetectionListener


This interface is deprecated.
We recommend using the new android.hardware.camera2 API for new applications.

Callback interface for face detected in the preview frame.

Summary

Public methods

abstract void onFaceDetection(Face[] faces, Camera camera)

Notify the listener of the detected faces in the preview frame.

Public methods

onFaceDetection

public abstract void onFaceDetection (Face[] faces, 
                Camera camera)

Notify the listener of the detected faces in the preview frame.

Parameters
faces Face: The detected faces in a list

camera Camera: The Camera service object