Class NetworkConnection.ConnectionType

java.lang.Object
org.openqa.selenium.mobile.NetworkConnection.ConnectionType
Enclosing interface:
NetworkConnection

public static class NetworkConnection.ConnectionType extends Object
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.