Webportal v1

embedded apps

API Reference - Device.GetInternetStatus()

Device.GetInternetStatus()

Type Method
Min Privacy Full
wave 2
wave 3
wave 4

Device.GetInternetStatus()

Description Gets the current status of the internet connection.
Response Boolean True if the connection is up, else False.
Parameter Void

Example

1
2
3
4
5
6
7
8
var Myvar = setInterval(MyFunction,  30000);

function MyFunction() {
	if (Device.GetInternetStatus() === True){
		// Connection is up
		clearInterval(MyVar);
	}
}

Appeared in Software version 5.14.06.10