Since version 1.5.0, some app functions can be set via HTML-Meta-Tags.
Setting a scan result handler
1 2 3 |
<meta http-equiv="ScannerNavigate" content="javascript:OnScan('%s', '%s', '%s');"> <!-- or --> <meta http-equiv="ScannerNavigate" content="javascript:OnScan('%s', '%s', '%s', '%s', '%s');"> |
(1) barcode data, (2) symbology type, and (3) timestamp will be passed to a function with 3 arguments
(1) barcode data, (2) source scanner name, (3) symbology type, (4) timestamp, and (5) barcode length will be passed to a function with 5 arguments. The source scanner will always be “0”.
Setting an NFC result handler
1 |
<meta http-equiv="NfcNavigate" content="javascript:OnScan('%s');"> |
(1) Tag id or block data depending on the setting