Camera.FaceDetectionListener
public
static
interface
Camera.FaceDetectionListener
| android.hardware.Camera.FaceDetectionListener |
This interface was deprecated
in API level 21.
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
Added in API level 14
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 |