cordova-plugin-cescit-integ.../www/AntiTampering.js
2020-12-31 16:38:20 +08:00

23 lines
484 B
JavaScript

var exec = require('cordova/exec');
function AntiTampering () {}
AntiTampering.prototype.verify = function (successCallback, errorCallback) {
exec(successCallback,
errorCallback,
'CescitIntegrity',
'verify',
[]);
};
AntiTampering.prototype.getList = function (successCallback, errorCallback) {
exec(successCallback,
errorCallback,
'CescitIntegrity',
'getList',
[]);
};
module.exports = new AntiTampering();