public static enum ScanDetection.PROXIMITY extends java.lang.Enum<ScanDetection.PROXIMITY>
Modifier and Type | Method and Description |
---|---|
int |
getProximity() |
static ScanDetection.PROXIMITY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanDetection.PROXIMITY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanDetection.PROXIMITY FAR
public static final ScanDetection.PROXIMITY NEAR
public static final ScanDetection.PROXIMITY IMMEDIATE
public static final ScanDetection.PROXIMITY UNKNOWN
public static ScanDetection.PROXIMITY[] values()
for (ScanDetection.PROXIMITY c : ScanDetection.PROXIMITY.values()) System.out.println(c);
public static ScanDetection.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 nullpublic int getProximity()