Class BarcodeResult

  • public final class BarcodeResult
    extends java.lang.Object
    Contains data extracted from the barcode.
    • Constructor Detail

      • BarcodeResult

        public BarcodeResult​(long nativeContext,
                             java.lang.Object keep)
        nativeContext - Native barcode result.
        keep - Owner of the native barcode result.
    • 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

        public java.lang.String getStringData()
        String representation of data inside barcode.
      • getRawData

        public byte[] getRawData()
        The raw bytes contained inside barcode.
      • getBarcodeType

        public BarcodeType getBarcodeType()
        The format of the scanned barcode.
      • getFirstName

        public java.lang.String getFirstName()
        The first name of the document owner.
      • getLastName

        public java.lang.String getLastName()
        The last name of the document owner.
      • getFullName

        public java.lang.String getFullName()
        The full name of the document owner.
      • getMiddleName

        public java.lang.String getMiddleName()
        The middle name of the document owner.
      • getAdditionalNameInformation

        public java.lang.String getAdditionalNameInformation()
        The additional name information of the document owner.
      • getAddress

        public java.lang.String getAddress()
        The address of the document owner.
      • getStreet

        public java.lang.String getStreet()
        The address street portion of the document owner.
      • getPostalCode

        public java.lang.String getPostalCode()
        The address postal code portion of the document owner.
      • getCity

        public java.lang.String getCity()
        The address city portion of the document owner.
      • getJurisdiction

        public java.lang.String getJurisdiction()
        The address jurisdiction code portion of the document owner.
      • getPlaceOfBirth

        public java.lang.String getPlaceOfBirth()
        The place of birth of the document owner.
      • getNationality

        public java.lang.String getNationality()
        The nationality of the document owner.
      • getRace

        public java.lang.String getRace()
        The race of the document owner.
      • getReligion

        public java.lang.String getReligion()
        The religion of the document owner.
      • getProfession

        public java.lang.String getProfession()
        The profession of the document owner.
      • getMaritalStatus

        public java.lang.String getMaritalStatus()
        The marital status of the document owner.
      • getResidentialStatus

        public java.lang.String getResidentialStatus()
        The residential status of the document owner.
      • getEmployer

        public java.lang.String getEmployer()
        The employer of the document owner.
      • getSex

        public java.lang.String getSex()
        The sex of the document owner.
      • getDateOfBirth

        public DateResult getDateOfBirth()
        The date of birth of the document owner.
      • getDateOfIssue

        public DateResult getDateOfIssue()
        The date of issue of the document.
      • getDateOfExpiry

        public DateResult getDateOfExpiry()
        The date of expiry of the document.
      • getDocumentNumber

        public java.lang.String getDocumentNumber()
        The document number.
      • getPersonalIdNumber

        public java.lang.String getPersonalIdNumber()
        The personal identification number.
      • getDocumentAdditionalNumber

        public java.lang.String getDocumentAdditionalNumber()
        The additional number of the document.
      • getIssuingAuthority

        public java.lang.String getIssuingAuthority()
        The issuing authority of the document.
      • getDriverLicenseDetailedInfo

        public DriverLicenseDetailedInfo getDriverLicenseDetailedInfo()
        The driver license detailed info.
      • getExtendedElements

        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

        public boolean isEmpty()
        Flag which indicates whether this result is empty or not.