mirror of
https://github.com/sdkcarlos/cordova-ourcodeworld-preventscreenshots.git
synced 2025-03-17 08:41:04 +08:00
19 lines
511 B
JavaScript
19 lines
511 B
JavaScript
/*global cordova, module*/
|
|
|
|
module.exports = {
|
|
enableScreenshots: function(){
|
|
cordova.exec(function(data){
|
|
console.info(data);
|
|
}, function(err){
|
|
console.error(err);
|
|
}, "OurCodeWorldpreventscreenshots", "enable", []);
|
|
},
|
|
disableScreenshots: function(){
|
|
cordova.exec(function(data){
|
|
console.info(data);
|
|
}, function(err){
|
|
console.error(err);
|
|
}, "OurCodeWorldpreventscreenshots", "disable", []);
|
|
}
|
|
};
|