public enum AntennaEventType extends java.lang.Enum<AntennaEventType>
| Enum Constant and Description |
|---|
AntennaConnected
Indicates an antenna connected event.
|
AntennaDisconnected
Indicates an antenna disconnected event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static AntennaEventType |
valueOf(int antennaEventTypeValue) |
static AntennaEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntennaEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntennaEventType AntennaDisconnected
public static final AntennaEventType AntennaConnected
public static AntennaEventType[] values()
for (AntennaEventType c : AntennaEventType.values()) System.out.println(c);
public static AntennaEventType 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 static AntennaEventType valueOf(int antennaEventTypeValue)
antennaEventTypeValue - the integer value of the antenna eventpublic int getValue()