Barcode & Bankcard

Accura Scan’s solution scans and extracts data from Barcodes as well as Bank cards.

Barcode

The method use to Start Barcode scanning is

accura.startBarcode(accuraConfs, barcodeType, function (results), function (error));

Parameters:

accuraConfs: {'enableLogs':false}, barcodeType: String(Available from the license)

Response:

Success: JSON String Response

Error: String

The example function is shown below

function startBarcode() {

   var accuraConfs = {};
   accura.startBarcode(accuraConfs, barcodeSelected, function (results) {
      //Result from the SDK
   }, function (error){
       alert(error);
   })
}

Bankcard

The method use to Start Bankcard scanning is

accura.startBankCard(accuraConfs, function (results), function (error));

Parameters:

accuraConfs: {'enableLogs':false}

Response:

On Success: JSON String Response

Error: String

Example function:

function startBankCard() {

     var accuraConfs = {};
     accura.startBankCard(accuraConfs, function (results) {
        //Result from the SDK
     }, function (error) {
         alert(error);
     });
}

Last updated