Skip to main content

1E 23.11 (SaaS)

Network.SetWiFiMode

Method

SetWiFiMode

Module

Network

Library

Core

Action

Turn WiFi mode on or off.

Parameters

Setting (string): "on" indicates that WiFi mode should be turned on.

Return values

Succeeded (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.