Enum Class ImageType

java.lang.Object
java.lang.Enum<ImageType>
com.regula.facesdk.enums.ImageType
All Implemented Interfaces:
Serializable, Comparable<ImageType>, Constable

public enum ImageType extends Enum<ImageType>
Enum influences matching results and provides the information about the source of the image.
  • Enum Constant Details

    • PRINTED

      public static final ImageType PRINTED
      The image contains a printed portrait of a person.
    • RFID

      public static final ImageType RFID
      The image contains a portrait of a person and is taken from the RFID chip.
    • LIVE

      public static final ImageType LIVE
      The image is taken from the camera.
    • DOCUMENT_WITH_LIVE

      public static final ImageType DOCUMENT_WITH_LIVE
      The image contains a document with a portrait of a person.
    • EXTERNAL

      public static final ImageType EXTERNAL
    • GHOST_PORTRAIT

      public static final ImageType GHOST_PORTRAIT
      The image is a ghost portrait
    • BARCODE

      public static final ImageType BARCODE
      The image from a barcode
  • Method Details

    • values

      public static ImageType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns int value of enum member
      Returns:
      int