public override void OnError(CameraDevice camera, CameraError error) { camera.Close(); CameraView.ActiveCameraDevice = null; CameraView.OpeningCamera = false; }
public override void OnError(CameraDevice camera, Android.Hardware.Camera2.CameraError error) { camera.Close(); if (renderer != null) { renderer.CameraDevice = null; } }
public override void OnError(CameraDevice camera, CameraError error) { camera.Close(); if (Activity != null) { Activity.cameraDevice = null; Activity.openingCamera = false; } }
public override void OnError ( CameraDevice cameraDevice, CameraError cameraError ) { cameraDevice.Close(); cameraDevice = null; }
public override void OnError(CameraDevice camera, CameraError error) { camera.Close(); if (Fragment != null) { Fragment.mCameraDevice = null; Activity activity = Fragment.Activity; Fragment.mOpeningCamera = false; if (activity != null) { activity.Finish(); } } }
public override void OnError(CameraDevice camera, Android.Hardware.Camera2.CameraError error) { Log.Error(TAG, "Received camera device error: " + error); lock (mCameraStateLock) { mState = STATE_CLOSED; mCameraOpenCloseLock.Release(); camera.Close(); mCameraDevice = null; } var activity = Activity; if (null != activity) { activity.Finish(); } }
public override void OnError(CameraDevice camera, Android.Hardware.Camera2.CameraError error) { Log.Error(TAG, "Received camera device error: " + error); lock (_cameraStateLock) { _state = STATE_CLOSED; _cameraOpenCloseLock.Release(); camera.Close(); _cameraDevice = null; } /* * var activity = Parent; * if (null != activity) * { * //TODO: clean up parent * //activity.Finish(); * }*/ }
public override void OnError(CameraDevice camera, CameraError error) { camera.Close(); if (Fragment != null) { Fragment.mCameraDevice = null; Activity activity = Fragment.Activity; Fragment.mOpeningCamera = false; if (activity != null) { activity.Finish (); } } }
public override void OnError(CameraDevice camera, Android.Hardware.Camera2.CameraError error) { throw new NotImplementedException(); }
public override void OnError(CameraDevice camera, [GeneratedEnum] Android.Hardware.Camera2.CameraError error) { _owner.OnError("Camera Device error: " + error.ToString()); }
public override void OnError(CameraDevice camera, Android.Hardware.Camera2.CameraError error) { //LogUtility.OutPutError(error.ToString()); _cameraDevice.Close(); _cameraDevice = null; }