Package com.appliedrec.verid.core2
Enum VerIDFaceTemplateVersion
- java.lang.Object
-
- java.lang.Enum<VerIDFaceTemplateVersion>
-
- com.appliedrec.verid.core2.VerIDFaceTemplateVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerIDFaceTemplateVersion>
public enum VerIDFaceTemplateVersion extends java.lang.Enum<VerIDFaceTemplateVersion>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerIDFaceTemplateVersion
fromSerialNumber(int serialNumber)
static VerIDFaceTemplateVersion
getLatest()
int
getValue()
static boolean
isEncryptionEnabledOnSerialNumber(int serialNumber)
int
serialNumber(boolean encryptionEnabled)
java.lang.String
stringValue()
static VerIDFaceTemplateVersion
valueOf(int pageType)
Returns the enum constant of this type with the specified name.static VerIDFaceTemplateVersion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerIDFaceTemplateVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V16
public static final VerIDFaceTemplateVersion V16
-
V20
public static final VerIDFaceTemplateVersion V20
-
V21
public static final VerIDFaceTemplateVersion V21
-
V24
public static final VerIDFaceTemplateVersion V24
-
-
Method Detail
-
values
public static VerIDFaceTemplateVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerIDFaceTemplateVersion c : VerIDFaceTemplateVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerIDFaceTemplateVersion valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static VerIDFaceTemplateVersion valueOf(int pageType)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
pageType
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
serialNumber
public int serialNumber(boolean encryptionEnabled)
-
isEncryptionEnabledOnSerialNumber
public static boolean isEncryptionEnabledOnSerialNumber(int serialNumber)
-
fromSerialNumber
public static VerIDFaceTemplateVersion fromSerialNumber(int serialNumber) throws VerIDCoreException
- Throws:
VerIDCoreException
-
getLatest
public static VerIDFaceTemplateVersion getLatest()
-
stringValue
public java.lang.String stringValue()
-
-