public static enum Beacon.Proximity extends java.lang.Enum<Beacon.Proximity> implements java.io.Serializable
Enum Constant and Description |
---|
PROXIMITY_FAR
Far.
|
PROXIMITY_IMMEDIATE
Immediate.
|
PROXIMITY_NEAR
Near.
|
PROXIMITY_UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static Beacon.Proximity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Beacon.Proximity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Beacon.Proximity PROXIMITY_IMMEDIATE
public static final Beacon.Proximity PROXIMITY_NEAR
public static final Beacon.Proximity PROXIMITY_FAR
public static final Beacon.Proximity PROXIMITY_UNKNOWN
public static Beacon.Proximity[] values()
for (Beacon.Proximity c : Beacon.Proximity.values()) System.out.println(c);
public static Beacon.Proximity 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