protected override void OnPause() { base.OnPause(); _scanView.CancelScanning(); _scanView.ReleaseCameraInBackground(); }