我无法扫描Maxicode条形码Zxing Xamarin

时间:2019-10-21 21:43:58

标签: c# .net xamarin zxing zxing.net

我有下一个代码:

 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函数

0 个答案:

没有答案