de.beamertool.mobile
Enum GsmAtStatus.ConnectionStatus
java.lang.Object
java.lang.Enum<GsmAtStatus.ConnectionStatus>
de.beamertool.mobile.GsmAtStatus.ConnectionStatus
- All Implemented Interfaces:
- Serializable, Comparable<GsmAtStatus.ConnectionStatus>
- Enclosing class:
- GsmAtStatus
public static enum GsmAtStatus.ConnectionStatus
- extends Enum<GsmAtStatus.ConnectionStatus>
All possible conneciton states of the gsm state
- Author:
- ocm-zeeman
Initilazied
public static final GsmAtStatus.ConnectionStatus Initilazied
Connecting
public static final GsmAtStatus.ConnectionStatus Connecting
Connected
public static final GsmAtStatus.ConnectionStatus Connected
Disconnected
public static final GsmAtStatus.ConnectionStatus Disconnected
values
public static GsmAtStatus.ConnectionStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GsmAtStatus.ConnectionStatus c : GsmAtStatus.ConnectionStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GsmAtStatus.ConnectionStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null