Back

IsWifiEnabled

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:" );
}
    Copy     Copy All       Run