Most visited

Recently visited

Added in API level 1
Deprecated since API level 21

Camera.ErrorCallback

public static interface Camera.ErrorCallback

android.hardware.Camera.ErrorCallback


该接口在API级别21中已被弃用。
我们建议将新的android.hardware.camera2 API用于新应用程序。

照相机错误通知的回调界面。

也可以看看:

Summary

Public methods

abstract void onError(int error, Camera camera)

回调相机错误。

Public methods

onError

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

回调相机错误。

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

Hooray!