cordova-plugin-voiceit
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"name": "cordova-plugin-voiceit", | ||
@@ -4,0 +4,0 @@ "cordova_name": "VoiceItCordova", |
@@ -1,28 +0,32 @@ | ||
function VoiceItCordova(){ | ||
function VoiceItCordova() { | ||
} | ||
VoiceItCordova.prototype = { | ||
initialize: function(developerID){ | ||
VoiceItCordova.prototype.developerID = developerID; | ||
}, | ||
getUser: function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "getUser",[VoiceItCordova.prototype.developerID, email, password]); | ||
}, | ||
createUser: function (email, password, firstName, lastName, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "createUser",[VoiceItCordova.prototype.developerID, email, password, firstName, lastName]); | ||
}, | ||
setUser : function (email, password, firstName, lastName, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "setUser",[VoiceItCordova.prototype.developerID, email, password, firstName, lastName]); | ||
} | ||
getEnrollments : function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "getEnrollments",[VoiceItCordova.prototype.developerID, email, password]); | ||
}, | ||
createEnrollment : function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "createEnrollment",[VoiceItCordova.prototype.developerID, email, password]); | ||
}, | ||
authentication : function (email, password, accuracy, accuracyPasses, accuracyPassIncrement, confidence, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "authentication",[VoiceItCordova.prototype.developerID, email, password, accuracy, accuracyPasses, accuracyPassIncrement, confidence]); | ||
} | ||
VoiceItCordova.prototype.initialize = function(developerID){ | ||
VoiceItCordova.prototype.developerID = developerID; | ||
} | ||
VoiceItCordova.prototype.getUser = function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "getUser",[VoiceItCordova.prototype.developerID, email, password]); | ||
}; | ||
VoiceItCordova.prototype.createUser = function (email, password, firstName, lastName, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "createUser",[VoiceItCordova.prototype.developerID, email, password, firstName, lastName]); | ||
}; | ||
VoiceItCordova.prototype.setUser = function (email, password, firstName, lastName, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "setUser",[VoiceItCordova.prototype.developerID, email, password, firstName, lastName]); | ||
}; | ||
VoiceItCordova.prototype.getEnrollments = function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "getEnrollments",[VoiceItCordova.prototype.developerID, email, password]); | ||
}; | ||
VoiceItCordova.prototype.createEnrollment = function (email, password, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "createEnrollment",[VoiceItCordova.prototype.developerID, email, password]); | ||
}; | ||
VoiceItCordova.prototype.authentication = function (email, password, accuracy, accuracyPasses, accuracyPassIncrement, confidence, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "VoiceItCordova", "authentication",[VoiceItCordova.prototype.developerID, email, password, accuracy, accuracyPasses, accuracyPassIncrement, confidence]); | ||
}; | ||
VoiceItCordova.install = function () { | ||
@@ -29,0 +33,0 @@ if (!window.plugins) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77013
31