public enum NetworkConnectionType extends java.lang.Enum<NetworkConnectionType>
| Enum Constant and Description |
|---|
MOBILE
mobile
|
TUNNEL
tunnel
|
UNEXPECTED_VALUE
For NetworkConnectionType values that were not expected from the service
|
UNKNOWN
unknown
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
WIFI
wifi
|
WIRED
wired
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkConnectionType UNKNOWN
public static final NetworkConnectionType WIRED
public static final NetworkConnectionType WIFI
public static final NetworkConnectionType MOBILE
public static final NetworkConnectionType TUNNEL
public static final NetworkConnectionType UNKNOWN_FUTURE_VALUE
public static final NetworkConnectionType UNEXPECTED_VALUE
public static NetworkConnectionType[] values()
for (NetworkConnectionType c : NetworkConnectionType.values()) System.out.println(c);
public static NetworkConnectionType 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 null