to top
Android APIs
Added in API level 14
public static interface

Camera.FaceDetectionListener

android.hardware.Camera.FaceDetectionListener

Class Overview

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

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

Added in API level 14

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

Parameters
faces The detected faces in a list
camera The Camera service object