This function will query the device to determine its current connection to the internet.
intel.xdk.device.updateConnection();
Description:
This function will query the device to determine its current connection to the internet. When it is done it will fire an event intel.xdk.device.connection.update and the connection property of intel.xdk.device will be updated.
Available Platforms:
- Apple iOS
- Google Android
- Microsoft Windows 8 - BETA
- Microsoft Windows Phone 8 - BETA
Events:
- intel.xdk.device.connection.update: This event will fire after the updateConnection method is called to let the device know that the latest network connection state is up to date.
Example:
intel.xdk.device.updateConnection();
Version:
This method is available in appMobi Version 3.0.0
English