This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
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
click to expand contents
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
loading