public static enum POBNetworkMonitor.ConnectionType extends java.lang.Enum<POBNetworkMonitor.ConnectionType>
| Enum Constant and Description |
|---|
CELLULAR_NETWORK_2G |
CELLULAR_NETWORK_3G |
CELLULAR_NETWORK_4G |
CELLULAR_NETWORK_5G |
CELLULAR_NETWORK_UN |
ETHERNET |
UNKNOWN |
WIFI |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static POBNetworkMonitor.ConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBNetworkMonitor.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBNetworkMonitor.ConnectionType UNKNOWN
public static final POBNetworkMonitor.ConnectionType ETHERNET
public static final POBNetworkMonitor.ConnectionType WIFI
public static final POBNetworkMonitor.ConnectionType CELLULAR_NETWORK_UN
public static final POBNetworkMonitor.ConnectionType CELLULAR_NETWORK_2G
public static final POBNetworkMonitor.ConnectionType CELLULAR_NETWORK_3G
public static final POBNetworkMonitor.ConnectionType CELLULAR_NETWORK_4G
public static final POBNetworkMonitor.ConnectionType CELLULAR_NETWORK_5G
public static POBNetworkMonitor.ConnectionType[] values()
for (POBNetworkMonitor.ConnectionType c : POBNetworkMonitor.ConnectionType.values()) System.out.println(c);
public static POBNetworkMonitor.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 nullpublic int getValue()