I am trying to do a xamarin.android application to use ML Kit, and I am folloing this steps:
1.- I create my android application in visual studio, using the template for that. 2.- In the nuget manager, I add the Xamarin.GooglePlayService.MLKit.BarcodeScanning
According with google documentation, one step it is configure the scanner, for example with this code:
val options = BarcodeScannerOptions.Builder()
.setBarcodeFormats(
Barcode.FORMAT_QR_CODE,
Barcode.FORMAT_AZTEC)
.build()
Then problem is that I can't have access to BarcodeScannerOptions.Builder.
I have tried to add the using Xamarin.GooglePlayService.MLKit.BarcodeScanning, but I don't have this namespace available.
So I wondering how I could use the bardcode sacnner of ML Kit.
Thanks.