UNPKG

cordova-plugin-netcontroll-integration

Version:
33 lines (25 loc) 1.4 kB
var exec = require('cordova/exec'); //Printer Functions exports.Initialize = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.Initialize', [params]); } exports.ImpressaoTextoNetPrint = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.ImpressaoTextoNetPrint', [params]); } exports.ImpressaoBase64NetPrint = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.ImpressaoBase64NetPrint', [params]); } //Scanner exports.ScannerIniciar = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.ScannerIniciar', [params]); } exports.ScannerParar = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.ScannerParar', [params]); } //Sensor Presenca exports.SensorPresencaIniciar = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.SensorPresencaIniciar', [params]); } exports.SensorPresencaParar = function (params, success, error) { exec(success, error, 'NetControllCordovaPluginsIntegration', 'Gertec.GertecSK210.SensorPresencaParar', [params]); }