logo
  • 教程列表
  • SO官方文档
  • 在 Xamarin 应用程序中使用 ZXing 库进行条形码扫描
    • 示例代码
  1. StackOverflow 文档
  2. Xamarin.Android 教程
  3. 在 Xamarin 应用程序中使用 ZXing 库进行条形码扫描
  4. 示例代码

示例代码

Created: November-22, 2018

button.Click +=async delegate 
{ 
var MScanner = new MobileBarcodeScanner(); 
var Result = await MScanner.Scan(); 
if(Result == null) 
{ 
    return; 
} 
//get the bar code text here 
string BarcodeText = Result.text; 
}
  • 在 Xamarin 应用程序中使用 ZXing 库进行条形码扫描

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明