我有下一个代码:
MobileBarcodeScanningOptions options = new MobileBarcodeScanningOptions();
options.PossibleFormats = new List<ZXing.BarcodeFormat>() {
ZXing.BarcodeFormat.MAXICODE
};
options.TryHarder = true;
var scannerPage = new ZXingScannerPage(options);
scannerPage.Title = "Lector de QR";
scannerPage.OnScanResult += (result) =>
{
scannerPage.IsScanning = false;
Console.WriteLine(result.Text);
}
当我尝试读取Maxicode条形码时,切勿进入scannerPage.OnScanResult函数