public enum DetectionStatus extends java.lang.Enum<DetectionStatus>
| Enum Constant and Description |
|---|
CAMERA_AT_ANGLE
Object is detected, but camera is at too large angle to read it
|
CAMERA_TOO_HIGH
Object detected, but the camera is too far above to read it
|
CAMERA_TOO_NEAR
Object detected, but the camera is too far above to read it
|
FAIL
Detection failed, nothing detected
|
PARTIAL_OBJECT
Object is detected, but parts of it are not visible
|
SUCCESS
Object successfully detected
|
| Modifier and Type | Method and Description |
|---|---|
static DetectionStatus |
fromNativeDetectionStatus(int nativeDetectionStatus) |
static DetectionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DetectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetectionStatus SUCCESS
public static final DetectionStatus FAIL
public static final DetectionStatus CAMERA_TOO_HIGH
public static final DetectionStatus PARTIAL_OBJECT
public static final DetectionStatus CAMERA_AT_ANGLE
public static final DetectionStatus CAMERA_TOO_NEAR
public static DetectionStatus[] values()
for (DetectionStatus c : DetectionStatus.values()) System.out.println(c);
public static DetectionStatus 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 DetectionStatus fromNativeDetectionStatus(int nativeDetectionStatus)