Added in API level 1
Deprecated in API level 21

Camera.ErrorCallback


public static interface Camera.ErrorCallback

android.hardware.Camera.ErrorCallback


This interface was deprecated in API level 21.
We recommend using the new android.hardware.camera2 API for new applications.

Callback interface for camera error notification.

Summary

Public methods

abstract void onError(int error, Camera camera)

Callback for camera errors.

Public methods

onError

Added in API level 1
public abstract void onError (int error, 
                Camera camera)

Callback for camera errors.

Parameters
error int: error code:

camera Camera: the Camera service object