Back

IsWifiApEnabled

JS Py
Hello World

Checks if the mobile Wifi Access Point is enabled on the user device.

app.IsWifiApEnabled() → Boolean

See Also: SetWifiApEnabled

Example - Check WifiAccessPoint Enabled

function OnStart()
{
    var wapEnabled = app.IsWifiApEnabled();
    app.Alert( wapEnabled, "Wifi Access Point Enabled:" );
}
from native import app

def OnStart():
    wapEnabled = app.IsWifiApEnabled()
    app.Alert(wapEnabled, "Wifi Access Point Enabled:")
    Copy     Copy All       Run