Enum MrtdDocumentType
- java.lang.Object
-
- java.lang.Enum<MrtdDocumentType>
-
- com.microblink.entities.recognizers.blinkid.mrtd.MrtdDocumentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MrtdDocumentType>
public enum MrtdDocumentType extends java.lang.Enum<MrtdDocumentType>
Supported MRTD document types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MRTD_TYPE_BORDER_CROSSING_CARD
Border crossing cardMRTD_TYPE_DL
Single line ISO Driving licenceMRTD_TYPE_GREEN_CARD
US Green CardMRTD_TYPE_IDENTITY_CARD
Identity cardMRTD_TYPE_INTERNAL_TRAVEL_DOCUMENT
China mainland travel permitMRTD_TYPE_MYS_PASS_IMM13P
Malaysian PASS type IMM13PMRTD_TYPE_PASSPORT
PassportMRTD_TYPE_UNKNOWN
MRTD_TYPE_VISA
Visa
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MrtdDocumentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MrtdDocumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MRTD_TYPE_UNKNOWN
public static final MrtdDocumentType MRTD_TYPE_UNKNOWN
-
MRTD_TYPE_IDENTITY_CARD
public static final MrtdDocumentType MRTD_TYPE_IDENTITY_CARD
Identity card
-
MRTD_TYPE_PASSPORT
public static final MrtdDocumentType MRTD_TYPE_PASSPORT
Passport
-
MRTD_TYPE_VISA
public static final MrtdDocumentType MRTD_TYPE_VISA
Visa
-
MRTD_TYPE_GREEN_CARD
public static final MrtdDocumentType MRTD_TYPE_GREEN_CARD
US Green Card
-
MRTD_TYPE_MYS_PASS_IMM13P
public static final MrtdDocumentType MRTD_TYPE_MYS_PASS_IMM13P
Malaysian PASS type IMM13P
-
MRTD_TYPE_DL
public static final MrtdDocumentType MRTD_TYPE_DL
Single line ISO Driving licence
-
MRTD_TYPE_INTERNAL_TRAVEL_DOCUMENT
public static final MrtdDocumentType MRTD_TYPE_INTERNAL_TRAVEL_DOCUMENT
China mainland travel permit
-
MRTD_TYPE_BORDER_CROSSING_CARD
public static final MrtdDocumentType MRTD_TYPE_BORDER_CROSSING_CARD
Border crossing card
-
-
Method Detail
-
values
public static MrtdDocumentType[] 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 (MrtdDocumentType c : MrtdDocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MrtdDocumentType 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
-
-