public interface SupportsNetworkStateManagement extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default void |
toggleAirplaneMode()
Toggle Airplane mode and this works on OS 6.0 and lesser
and does not work on OS 7.0 and greater
|
default void |
toggleData()
Toggle Mobile Data and this works on Emulator and rooted device.
|
default void |
toggleWifi()
Toggles Wifi on and off.
|
execute, execute
default void toggleWifi()
default void toggleAirplaneMode()
default void toggleData()