Interface | Description |
---|---|
NetworkConnection |
Control a device's network connection Example usage:
NetworkConnection mobileDriver = (NetworkConnection) driver;
if (mobileDriver.getNetworkConnection() !
|
Class | Description |
---|---|
NetworkConnection.ConnectionType |
ConnectionType is a bitmask to represent a device's network connection
Data | WIFI | Airplane
0 0 1 == 1
1 1 0 == 6
1 0 0 == 4
0 1 0 == 2
0 0 0 == 0
Giving "Data" the first bit positions in order to give room for the future of enabling
specific types of data (Edge / 2G, 3G, 4G, LTE, etc) if the device allows it.
|