pause Event

This event is fired when the screen locks

Description:

This event is triggered when the screen turns off due to power saving timeout or the user presses the power button.

Example:


document.addEventListener("intel.xdk.device.pause",function(evt){
        intel.xdk.player.pause();
},false); 
                          
For more complete information about compiler optimizations, see our Optimization Notice.