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 1.0.0-alpha01
fun isEnabled(): Boolean

Returns whether the wifi is enabled.

turnOff

Added in 1.0.0-alpha01
fun turnOff(): Unit

Turns off the wifi.

turnOn

Added in 1.0.0-alpha01
fun turnOn(): Unit

Turns on the wifi.