public enum ReceiverType extends java.lang.Enum<ReceiverType>
Enum Constant and Description |
---|
NOT_AVAILABLE |
PERIODIC |
RX_ON_WHEN_IDLE |
WHEN_STIMULATED |
Modifier and Type | Method and Description |
---|---|
static ReceiverType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiverType RX_ON_WHEN_IDLE
public static final ReceiverType PERIODIC
public static final ReceiverType WHEN_STIMULATED
public static final ReceiverType NOT_AVAILABLE
public static ReceiverType[] values()
for (ReceiverType c : ReceiverType.values()) System.out.println(c);
public static ReceiverType 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