Wi-Fi hotspot set state
An action block that enables or disables Wi-Fi hotspot.
The fiber will proceed immediately without pause.
The Wi-Fi adapter may have to be disabled, using the Wi-Fi set state block, before it’s possible to enable hotspot.
This block may cause a
SecurityException failure or otherwise refuse to work on devices where the manufacturer or carrier has disabled tethering.
On a rooted device this may be circumvented choosing that Wi-Fi hotspot workaround option in
On Android 7.1+ devices the Wi-Fi hotspot rooted option may have to be enabled,
to avoid DHCP issue preventing other device from connecting to the hotspot.
Note! This feature isn’t officially supported by Android, may not work on all devices.
- Wi-Fi hotspot — whether to enable or disable Wi-Fi hotspot.