public final class WifiCommands


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

Summary

Public methods

final boolean

Returns whether the wifi is enabled.

final void

Turns off the wifi.

final void

Turns on the wifi.

Public methods

isEnabled

Added in 1.0.0-alpha01
public final boolean isEnabled()

Returns whether the wifi is enabled.

turnOff

Added in 1.0.0-alpha01
public final void turnOff()

Turns off the wifi.

turnOn

Added in 1.0.0-alpha01
public final void turnOn()

Turns on the wifi.