Interface HasNetworkConnection
-
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
public interface HasNetworkConnection extends ExecutesMethod
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ConnectionStategetConnection()Get the current network settings of the device.default ConnectionStatesetConnection(ConnectionState connection)Set the network connection of the device.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
setConnection
default ConnectionState setConnection(ConnectionState connection)
Set the network connection of the device.- Parameters:
connection- The bitmask of the desired connection- Returns:
- Connection object, which represents the resulting state
-
getConnection
default ConnectionState getConnection()
Get the current network settings of the device.- Returns:
- Connection object, which lets you to inspect the current status
-
-