void setWifiEnabled(bool)
Sets the state of whether WiFi is enabled.
Security
Trust Level Required: Low trust
Parameters
Name | Description |
enabled |
bool If true, wifi will be enabled. If false, wifi will be disabled. |
Return
Returns true if WiFi is enabled, or false otherwise.
Examples
// disable wifi
KioWareUtils.setWifiEnabled(false);
Requirements
KioWare for Android version 3.14 or greater.