API Reference - Device.GetInternetStatus()
Device.GetInternetStatus()
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