public enum ConnectionType extends java.lang.Enum<ConnectionType>
| Enum Constant and Description |
|---|
bluetooth |
cellular2g |
cellular3g |
cellular4g |
ethernet |
none |
other |
wifi |
wimax |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionType none
public static final ConnectionType cellular2g
public static final ConnectionType cellular3g
public static final ConnectionType cellular4g
public static final ConnectionType bluetooth
public static final ConnectionType ethernet
public static final ConnectionType wifi
public static final ConnectionType wimax
public static final ConnectionType other
public static ConnectionType[] values()
for (ConnectionType c : ConnectionType.values()) System.out.println(c);
public static 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 null