Repository URL to install this package:
/**
* DynamicEngine.plugins.SplashScreen
* @module de-splashscreen-plugin
*
* @class SplashScreen
*/
var exec = require('cordova/exec');
/**
* Hide the splash screen
*
* @method hideSplash
* @param {Function} success A success callback function called on success
* @param {Function} error The error callback function called on failure
*/
exports.hideSplash = function(success, error) {
exec(success, error, "DESplashScreenPlugin", "hideSplash", []);
};
/**
* Show the splash screen
*
* @method showSplash
* @param {Function} success A success callback function called on success
* @param {Function} error The error callback function called on failure
*/
exports.showSplash = function(success, error) {
exec(success, error, "DESplashScreenPlugin", "showSplash", []);
};
/**
* Hide & destroy th splash screen
* The splash screen will be closed and the memory will be freed. A succeeding showSplash invocation a new instance of the splash window eill be created.
*
* @method hideSplash
* @param {Function} success A success callback function called on success
* @param {Function} error The error callback function called on failure
*/
exports.destroySplash = function(success, error) {
exec(success, error, "DESplashScreenPlugin", "destroySplash", []);
};