Android APIs
Added in API level 1
Deprecated since API level 21
public static interface



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

Class Overview

Callback interface for camera error notification.


Public Methods
abstract void onError(int error, Camera camera)
Callback for camera errors.

Public Methods

public abstract void onError (int error, Camera camera)

Added in API level 1

Callback for camera errors.

error int: error code:
camera Camera: the Camera service object