Class BarcodeResult
- java.lang.Object
-
- com.microblink.documentverification.entities.recognizers.blinkid.generic.barcode.BarcodeResult
-
public final class BarcodeResult extends java.lang.ObjectContains data extracted from the barcode.
-
-
Constructor Summary
Constructors Constructor Description BarcodeResult(long nativeContext, java.lang.Object keep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAdditionalNameInformation()The additional name information of the document owner.java.lang.StringgetAddress()The address of the document owner.BarcodeTypegetBarcodeType()The format of the scanned barcode.java.lang.StringgetCity()The address city portion of the document owner.DateResultgetDateOfBirth()The date of birth of the document owner.DateResultgetDateOfExpiry()The date of expiry of the document.DateResultgetDateOfIssue()The date of issue of the document.java.lang.StringgetDocumentAdditionalNumber()The additional number of the document.java.lang.StringgetDocumentNumber()The document number.DriverLicenseDetailedInfogetDriverLicenseDetailedInfo()The driver license detailed info.java.lang.StringgetEmployer()The employer of the document owner.BarcodeElementsgetExtendedElements()Document specific extended elements that contain all barcode fields in their original form.java.lang.StringgetFirstName()The first name of the document owner.java.lang.StringgetFullName()The full name of the document owner.java.lang.StringgetIssuingAuthority()The issuing authority of the document.java.lang.StringgetJurisdiction()The address jurisdiction code portion of the document owner.java.lang.StringgetLastName()The last name of the document owner.java.lang.StringgetMaritalStatus()The marital status of the document owner.java.lang.StringgetMiddleName()The middle name of the document owner.java.lang.StringgetNationality()The nationality of the document owner.java.lang.StringgetPersonalIdNumber()The personal identification number.java.lang.StringgetPlaceOfBirth()The place of birth of the document owner.java.lang.StringgetPostalCode()The address postal code portion of the document owner.java.lang.StringgetProfession()The profession of the document owner.java.lang.StringgetRace()The race of the document owner.byte[]getRawData()The raw bytes contained inside barcode.java.lang.StringgetReligion()The religion of the document owner.java.lang.StringgetResidentialStatus()The residential status of the document owner.java.lang.StringgetSex()The sex of the document owner.java.lang.StringgetStreet()The address street portion of the document owner.java.lang.StringgetStringData()String representation of data inside barcode.booleanisEmpty()Flag which indicates whether this result is empty or not.booleanisUncertain()True if returned result is uncertain, i.e.
-
-
-
Method Detail
-
isUncertain
public boolean isUncertain()
True if returned result is uncertain, i.e. if scanned barcode was incomplete (i.e. (has parts of it missing).
-
getStringData
@NonNull public java.lang.String getStringData()
String representation of data inside barcode.
-
getRawData
@NonNull public byte[] getRawData()
The raw bytes contained inside barcode.
-
getBarcodeType
@NonNull public BarcodeType getBarcodeType()
The format of the scanned barcode.
-
getFirstName
@NonNull public java.lang.String getFirstName()
The first name of the document owner.
-
getLastName
@NonNull public java.lang.String getLastName()
The last name of the document owner.
-
getFullName
@NonNull public java.lang.String getFullName()
The full name of the document owner.
-
getMiddleName
@NonNull public java.lang.String getMiddleName()
The middle name of the document owner.
-
getAdditionalNameInformation
@NonNull public java.lang.String getAdditionalNameInformation()
The additional name information of the document owner.
-
getAddress
@NonNull public java.lang.String getAddress()
The address of the document owner.
-
getStreet
@NonNull public java.lang.String getStreet()
The address street portion of the document owner.
-
getPostalCode
@NonNull public java.lang.String getPostalCode()
The address postal code portion of the document owner.
-
getCity
@NonNull public java.lang.String getCity()
The address city portion of the document owner.
-
getJurisdiction
@NonNull public java.lang.String getJurisdiction()
The address jurisdiction code portion of the document owner.
-
getPlaceOfBirth
@NonNull public java.lang.String getPlaceOfBirth()
The place of birth of the document owner.
-
getNationality
@NonNull public java.lang.String getNationality()
The nationality of the document owner.
-
getRace
@NonNull public java.lang.String getRace()
The race of the document owner.
-
getReligion
@NonNull public java.lang.String getReligion()
The religion of the document owner.
-
getProfession
@NonNull public java.lang.String getProfession()
The profession of the document owner.
-
getMaritalStatus
@NonNull public java.lang.String getMaritalStatus()
The marital status of the document owner.
-
getResidentialStatus
@NonNull public java.lang.String getResidentialStatus()
The residential status of the document owner.
-
getEmployer
@NonNull public java.lang.String getEmployer()
The employer of the document owner.
-
getSex
@NonNull public java.lang.String getSex()
The sex of the document owner.
-
getDateOfBirth
@NonNull public DateResult getDateOfBirth()
The date of birth of the document owner.
-
getDateOfIssue
@NonNull public DateResult getDateOfIssue()
The date of issue of the document.
-
getDateOfExpiry
@NonNull public DateResult getDateOfExpiry()
The date of expiry of the document.
-
getDocumentNumber
@NonNull public java.lang.String getDocumentNumber()
The document number.
-
getPersonalIdNumber
@NonNull public java.lang.String getPersonalIdNumber()
The personal identification number.
-
getDocumentAdditionalNumber
@NonNull public java.lang.String getDocumentAdditionalNumber()
The additional number of the document.
-
getIssuingAuthority
@NonNull public java.lang.String getIssuingAuthority()
The issuing authority of the document.
-
getDriverLicenseDetailedInfo
@NonNull public DriverLicenseDetailedInfo getDriverLicenseDetailedInfo()
The driver license detailed info.
-
getExtendedElements
@NonNull public BarcodeElements getExtendedElements()
Document specific extended elements that contain all barcode fields in their original form. Currently this is only filled for AAMVACompliant documents.
-
isEmpty
@NonNull public boolean isEmpty()
Flag which indicates whether this result is empty or not.
-
-