Invoked when the scan has been successful. A JSON object passed as a parameter specifies the scanned data and its format.
Name | Description | Type | Use |
---|---|---|---|
data | Contains the scanned barcode data. | string |
required |
format | Contains the format of the scanned barcode. | int |
required |