class WifiCommands


Commands to turn on and off the wifi, and to check whether is enabled.

Summary

Public functions

Boolean

Returns whether the wifi is enabled.

Unit

Turns off the wifi.

Unit

Turns on the wifi.

Public functions

isEnabled

Added in 2.4.0-rc01
fun isEnabled(): Boolean

Returns whether the wifi is enabled.

turnOff

Added in 2.4.0-rc01
fun turnOff(): Unit

Turns off the wifi.

turnOn

Added in 2.4.0-rc01
fun turnOn(): Unit

Turns on the wifi.