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 an
SecurityException failure (missing “CONNECTIVITY_INTERNAL” permission) on devices where the manufacturer or carrier has disabled tethering.
On a rooted device this may be circumvented by enabling the Wi-Fi hotspot rooted option in
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.