to top
Android APIs
Added in API level 1
public static interface

Camera.ErrorCallback

android.hardware.Camera.ErrorCallback

Class Overview

Callback interface for camera error notification.

Summary

Public Methods

? Examples
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.

Parameters
error error code:
camera the Camera service object
No examples for this method.
Frequently called with: [Clear]
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.