Back

IsWifiEnabled

JS Py
Hello World

Checks if Wifi is enabled on the user device.

app.IsWifiEnabled() → Boolean

See Also: SetWifiEnabled, SetOnWifiChange, IsWifiApEnabled

Example - Check Wifi Enabled

function OnStart()
{
    var wifiEnabled = app.IsWifiEnabled();
    app.Alert( wifiEnabled, "Wifi Enabled:" );
}
def OnStart():
    wifiEnabled = app.IsWifiEnabled()
    app.Alert( wifiEnabled, "Wifi Enabled:" )
    Copy     Copy All       Run