Method

SetWiFiMode

ModuleNetwork
LibraryCore
Action


Turn WiFi mode on or off.


ParametersSetting (string): "on" indicates that WiFi mode should be turned on.
Return valuesSucceeded (boolean): Indicates whether the action succeeded. true indicates success, false indicates failure.
Example


Network.SetWiFiMode(Setting:"on");

Network.SetWiFiMode(Setting:"off");


Platforms
  • Android
Notes

See Network.SetAirplaneMode and Network.SetBlueToothMode for details on turning those features on or off separately.