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.
See also:
Public methods | |
---|---|
abstract
void
|
onError(int error, Camera camera)
Callback for camera errors. |
void onError (int error, Camera camera)
Callback for camera errors.
Parameters | |
---|---|
error |
int :
error code:
|
camera |
Camera :
the Camera service object
|