Scanner Discovery
The discover devices functionality of Scanner Manager:
- discovers any connected handheld barcode scanning devices
- registers to receive device status updates
- registers to receive action result updates
- prepares Scanner Manager for the reception of the data after the barcode is scanned
So, related to the last point above, the main task for you is to implement a method that handles the dataReceived
.
The User Interface
A typical user interface might look like this:
The Sample Code
For simplicity, the sample code utilizes the first scanner that is found, however, if necessary you can handle this in a more sophisticated way and deal with more than one scanner.
Warning
In the iOS Code The base class needs to conform to WDScanning
.
Universal Windows Platform SDK coming soon