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

? Examples
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
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.