示例代码
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;
}
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;
}