AdaptiScan

API Documentation

    function adaptiscanBarcodeFinished(barcode, barcodeTypeId, barcodeTypeString, identifierForVendor) 
                                   - This is the default javascript function that we will call on the web page 
                                     currently loaded when a barcode is successfully scanned. 

                                     Note: You must define this if callbacks are enabled in the app.
    
    function adaptiscanSwipeFinished(name, number, expMonth, expYear, track1, track2, track3, identifierForVendor) 
                                   - This is the default javascript function that we will call on the web page 
                                     currently loaded when a magnetic card is swiped and sucessfully read. 

                                     Note: You must define this if callbacks are enabled in the app.

    AdaptiScan.disableDeviceBeep() - Programmatically disables the default beep sound 
                                     (toggles the "Default Beep Enabled" option off).

    AdaptiScan.enableDeviceBeep() - Programmatically enables the default beep sound 
                                    (toggles the "Default Beep Enabled" option on).

    AdaptiScan.identifierForVendor() - Returns an alphanumeric string that uniquely identifies the iOS device.

    AdaptiScan.playBeep(sequence) - Plays the specified sequence of tones. The sequence argument is given as a single 
                                    string containing a comma-separated list of frequencies and durations (in 
                                    milliseconds) * currently only available on Linea devices *  
                                    
                                    For example:

                                        AdaptiScan.playBeep("1046,500,1318,500,1568,500");

    AdaptiScan.scannerSerialNumber() - Returns the serial number that uniquely identifies the scanner device.