Webportal v1

embedded apps

API Reference - Connectivity.connectivityOn

Connectivity.connectivityOn

Type Event
wave 2
wave 3
wave 4

Event triggered when the Internet connectivity status changes to True.

Example

1
2
3
4
5
6
7
8
9
10
try{
	// Connectivity
	if ((typeof Connectivity !== "undefined") && (typeof Connectivity.addEventListener !== "undefined")) {
		Connectivity.addEventListener("connectivityOn", function(){
			alert("The internet connectivity is now on");
		});
	}
} catch(e) {
	DealWithConnectivityError(e);
}

Appeared in Software version 5.14.06.10