cordova-plugin-android-mdm
Version:
Cordova plugin to retrieve configuration from Android for Work as JSON
18 lines (15 loc) • 565 B
JavaScript
/*global cordova, module, console*/
module.exports = {
addRestrictionListener: function (callback) {
"use strict";
cordova.exec(callback, callback, "AndroidMDM", "addRestrictionListener", []);
},
getAppRestrictions: function (callback) {
"use strict";
cordova.exec(callback, callback, "AndroidMDM", "getAppRestrictions", []);
},
getManifestRestrictions: function (callback) {
"use strict";
cordova.exec(callback, callback, "AndroidMDM", "getManifestRestrictions", []);
}
};