public enum PortraitStatus extends java.lang.Enum<PortraitStatus>
| Enum Constant and Description |
|---|
CREATED
A new portrait has been created.
|
NO_FACE_DETECTED
No face has been detected in the provided image.
|
UNDEFINED
The status is undefined.
|
UPDATED
The portrait has been updated.
|
| Modifier and Type | Method and Description |
|---|---|
static PortraitStatus |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static PortraitStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortraitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortraitStatus UNDEFINED
public static final PortraitStatus NO_FACE_DETECTED
public static final PortraitStatus CREATED
public static final PortraitStatus UPDATED
public static PortraitStatus[] values()
for (PortraitStatus c : PortraitStatus.values()) System.out.println(c);
public static PortraitStatus 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 getValue()
public static PortraitStatus fromValue(int value)
value - The int value.Copyright © id3 Technologies. All rights reserved. eu.id3.face