cordova.define("com.lampa.startapp.startapp",function(require,exports,module){var exec=require("cordova/exec");module.exports={set:function(params,extra){var output=[params];return null!=extra?output.push(extra):output.push(null),{start:function(completeCallback,errorCallback,messageCallback){completeCallback=completeCallback||function(){},messageCallback=messageCallback||function(){},exec(function(result){if("OK"===result)completeCallback(result);else{var requestCode=result._ACTION_requestCode_;delete result._ACTION_requestCode_;var resultCode=result._ACTION_resultCode_;delete result._ACTION_resultCode_,messageCallback(result,requestCode,resultCode)}},errorCallback=errorCallback||function(){},"startApp","start",output)},check:function(completeCallback,errorCallback){exec(completeCallback=completeCallback||function(){},errorCallback=errorCallback||function(){},"startApp","check",output)},receiver:function(completeCallback,errorCallback,messageCallback){completeCallback=completeCallback||function(){},messageCallback=messageCallback||function(){},exec(function(result){if(/\d+/.test(result))completeCallback(result);else{var action=result._ACTION_VALUE_FORMAT_;delete result._ACTION_VALUE_FORMAT_,messageCallback(action,result)}},errorCallback=errorCallback||function(){},"startApp","receiver",output)}}},getExtras:function(completeCallback,errorCallback){exec(completeCallback,errorCallback,"startApp","getExtras",[])},getExtra:function(extraValue,completeCallback,errorCallback){exec(completeCallback,errorCallback,"startApp","getExtra",[extraValue])},hasExtra:function(extraValue,completeCallback,errorCallback){this.getExtra(extraValue,completeCallback,errorCallback)}}});