android.hardware.Camera.FaceDetectionListener Java Examples

The following examples show how to use android.hardware.Camera.FaceDetectionListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AndroidCameraAgentImpl.java    From Camera2 with Apache License 2.0 4 votes vote down vote up
private void setFaceDetectionListener(FaceDetectionListener listener) {
    mCamera.setFaceDetectionListener(listener);
}
 
Example #2
Source File: DefaultEasyCamera.java    From Expert-Android-Programming with MIT License 4 votes vote down vote up
@Override
public void setFaceDetectionListener(FaceDetectionListener listener) {
	if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
		camera.setFaceDetectionListener(listener);
	}
}
 
Example #3
Source File: DefaultEasyCamera.java    From EasyCamera with Apache License 2.0 4 votes vote down vote up
@Override
public void setFaceDetectionListener(FaceDetectionListener listener) {
	if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
		camera.setFaceDetectionListener(listener);
	}
}