private void BarcodeDetected(object sender, BarcodeDetectedEventArgs e) { barCodeBorder.Child = e.GetBarcodeBorderUIVideoUniformFill(barCodeBorder.ActualWidth, barCodeBorder.ActualHeight); DisplayResult(e.Result); if (_resetTextAction != null) { _resetTextAction.Start(); } }
private void BarcodeDetected(object sender, BarcodeDetectedEventArgs e) { _device.AutoDetectBarcode = false; barCodeBorder.Child = e.GetBarcodeBorderUIVideoUniformFill(barCodeBorder.ActualWidth, barCodeBorder.ActualHeight); DisplayResult(e.Result); _device.Dispose(); _device = null; NavigationService.GoBack(); }