public static enum NetworkMonitorAutoDetect.ConnectionType extends java.lang.Enum<NetworkMonitorAutoDetect.ConnectionType>
Enum Constant and Description |
---|
CONNECTION_2G |
CONNECTION_3G |
CONNECTION_4G |
CONNECTION_BLUETOOTH |
CONNECTION_ETHERNET |
CONNECTION_NONE |
CONNECTION_UNKNOWN |
CONNECTION_UNKNOWN_CELLULAR |
CONNECTION_VPN |
CONNECTION_WIFI |
Modifier and Type | Method and Description |
---|---|
static NetworkMonitorAutoDetect.ConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkMonitorAutoDetect.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_UNKNOWN
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_ETHERNET
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_WIFI
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_4G
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_3G
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_2G
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_UNKNOWN_CELLULAR
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_BLUETOOTH
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_VPN
public static final NetworkMonitorAutoDetect.ConnectionType CONNECTION_NONE
public static NetworkMonitorAutoDetect.ConnectionType[] values()
for (NetworkMonitorAutoDetect.ConnectionType c : NetworkMonitorAutoDetect.ConnectionType.values()) System.out.println(c);
public static NetworkMonitorAutoDetect.ConnectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null6.0.0