NetworkConnectionType getConnectionType()
Gets the current system network connection type
Security
Trust Level Required: Low Trust
Return
The NetworkConnectionType representing the current connection
Remarks
This function checks all network adapters, returning the status of the first device considered to have a valid and established connection. Upon failure to accurately determine status, Unknown is returned.
Examples
var connType = KioUtils.getConnectionType();
console.log('connType: ' + connType);
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.