Java 类android.hardware.Camera.ErrorCallback 实例源码

项目:nexus-camera    文件:AndroidCameraManagerImpl.java   
@Override
public void setErrorCallback(ErrorCallback cb) {
    mCameraHandler.obtainMessage(SET_ERROR_CALLBACK, cb).sendToTarget();
}
项目:nexus-camera    文件:CameraManager.java   
/**
 * Registers an error callback.
 *
 * @param cb The error callback.
 * @see android.hardware.Camera#setErrorCallback(android.hardware.Camera.ErrorCallback)
 */
public void setErrorCallback(ErrorCallback cb);