com.morpho.morphosmart.sdk
Enum EnrollmentType

java.lang.Object
  extended by java.lang.Enum<EnrollmentType>
      extended by com.morpho.morphosmart.sdk.EnrollmentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnrollmentType>

public enum EnrollmentType
extends java.lang.Enum<EnrollmentType>

Specifies the number of fingerprint image acquisitions. Allowed values are 0, 1 and 3. We strongly recommend setting this value to 0 (default value) or 3 for enrollment purpose to increase the system performances: in this case, the template is generated from a consolidation calculation of three consecutive acquisitions of the same fingerprint. It is also possible to set this value to 1 for verification purpose. In this case, it is not possible to save the record in the internal database: in this case, the template is generated from one single fingerprint acquisition. On MorphoSmartâ„¢ FINGER VP, the value 1 is deprecated.


Enum Constant Summary
ONE_ACQUISITIONS
          It is also possible to set this value to 1 for verification purpose.
THREE_ACQUISITIONS
          We strongly recommend setting this value to 0 (default value) for enrollment purpose to increase the system performances: in this case, the template is generated from a consolidation calculation of three consecutive acquisitions of the same fingerprint.
 
Method Summary
 int getValue()
           
static EnrollmentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnrollmentType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONE_ACQUISITIONS

public static final EnrollmentType ONE_ACQUISITIONS
It is also possible to set this value to 1 for verification purpose. In this case, it is not possible to save the record in the internal database: in this case, the template is generated from one single fingerprint acquisition


THREE_ACQUISITIONS

public static final EnrollmentType THREE_ACQUISITIONS
We strongly recommend setting this value to 0 (default value) for enrollment purpose to increase the system performances: in this case, the template is generated from a consolidation calculation of three consecutive acquisitions of the same fingerprint.

Method Detail

values

public static EnrollmentType[] 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 (EnrollmentType c : EnrollmentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EnrollmentType 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 name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()
Returns:
the value