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

  • 關於本站
  • 免責聲明