Class BlinkIdCombinedRecognizer.Result

    • Constructor Detail

      • Result

        protected Result​(long nativeResult)
    • Method Detail

      • getFrontImageAnalysisResult

        @NonNull
        public ImageAnalysisResult getFrontImageAnalysisResult()
        Image analysis result for the scanned document front side image
      • getAdditionalOptionalAddressInformation

        @NonNull
        public java.lang.String getAdditionalOptionalAddressInformation()
        The one more additional address information of the document owner.
      • getFathersName

        @NonNull
        public java.lang.String getFathersName()
        The fathers name of the document owner.
      • getDocumentNumber

        @NonNull
        public java.lang.String getDocumentNumber()
        The document number.
      • getDocumentOptionalAdditionalNumber

        @NonNull
        public java.lang.String getDocumentOptionalAdditionalNumber()
        The one more additional number of the document.
      • getFrontProcessingStatus

        @NonNull
        public ProcessingStatus getFrontProcessingStatus()
        Status of the last front side recognition process.
      • getBarcodeCameraFrame

        @NonNull
        public Image getBarcodeCameraFrame()
        Barcode camera frame.
      • getAdditionalAddressInformation

        @NonNull
        public java.lang.String getAdditionalAddressInformation()
        The additional name information of the document owner.
      • getEmployer

        @NonNull
        public java.lang.String getEmployer()
        The employer of the document owner.
      • getProfession

        @NonNull
        public java.lang.String getProfession()
        The profession of the document owner.
      • getDateOfExpiry

        @NonNull
        public DateResult getDateOfExpiry()
        The date of expiry of the document.
      • getLocalizedName

        @NonNull
        public java.lang.String getLocalizedName()
        The localized name of the document owner.
      • getBackVizResult

        @NonNull
        public VizResult getBackVizResult()
        The data extracted from the back side visual inspection zone.
      • getMrzResult

        @NonNull
        public MrzResult getMrzResult()
        The data extracted from the machine readable zone.
      • getFirstName

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

        public boolean isScanningFirstSideDone()
        Specified by:
        isScanningFirstSideDone in interface CombinedResult
        Returns:
        true if recognizer has finished scanning first side and is now scanning back side, false if it's still scanning first side.
      • getNationality

        @NonNull
        public java.lang.String getNationality()
        The nationality of the documet owner.
      • getAdditionalNameInformation

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

        @NonNull
        public java.lang.String getMothersName()
        The mothers name of the document owner.
      • getMaritalStatus

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

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

        @NonNull
        public DriverLicenseDetailedInfo getDriverLicenseDetailedInfo()
        The driver license detailed info.
      • getPersonalIdNumber

        @NonNull
        public java.lang.String getPersonalIdNumber()
        The personal identification number.
      • getFrontCameraFrame

        @NonNull
        public Image getFrontCameraFrame()
        Front camera frame.
      • isDateOfExpiryPermanent

        public boolean isDateOfExpiryPermanent()
        Determines if date of expiry is permanent.
      • getResidentialStatus

        @NonNull
        public java.lang.String getResidentialStatus()
        The residential stauts of the document owner.
      • getBackCameraFrame

        @NonNull
        public Image getBackCameraFrame()
        Back camera frame.
      • getBarcodeResult

        @NonNull
        public BarcodeResult getBarcodeResult()
        The data extracted from the barcode.
      • getPlaceOfBirth

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

        @NonNull
        public java.lang.String getAddress()
        The address of the document owner.
      • getRace

        @NonNull
        public java.lang.String getRace()
        The race of the document owner.
      • getRecognitionMode

        @NonNull
        public RecognitionMode getRecognitionMode()
        Recognition mode used to scan current document.
      • getSex

        @NonNull
        public java.lang.String getSex()
        The sex of the document owner.
      • getFullName

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

        @NonNull
        public ProcessingStatus getBackProcessingStatus()
        Status of the last back side recognition process.
      • getDateOfBirth

        @NonNull
        public DateResult getDateOfBirth()
        The date of birth of the document owner.
      • getDocumentAdditionalNumber

        @NonNull
        public java.lang.String getDocumentAdditionalNumber()
        The additional number of the document.
      • getDateOfIssue

        @NonNull
        public DateResult getDateOfIssue()
        The date of issue of the document.
      • getReligion

        @NonNull
        public java.lang.String getReligion()
        The religion of the document owner.
      • getBackImageAnalysisResult

        @NonNull
        public ImageAnalysisResult getBackImageAnalysisResult()
        Image analysis result for the scanned document back side image
      • getIssuingAuthority

        @NonNull
        public java.lang.String getIssuingAuthority()
        The issuing authority of the document.
      • getFrontVizResult

        @NonNull
        public VizResult getFrontVizResult()
        The data extracted from the front side visual inspection zone.
      • getAge

        public int getAge()
        The current age of the document owner in years. It is calculated difference between now and date of birth. Now is current time on the device.
        Returns:
        current age of the document owner in years or -1 if date of birth is unknown.
      • getAgeLimitStatus

        public AgeLimitStatus getAgeLimitStatus​(int ageLimit)
        Calculates whether the document owner is older than the given ageLimit in years or not. Status is calculated by using the date of birth and the current time on the device.
        Parameters:
        ageLimit - age limit in years
        Returns:
        age limit status for the document owner:
      • isExpired

        public boolean isExpired()
        Checks whether the document has expired or not by comparing the current time on the device with the date of expiry.
        Returns:
        true if the document has expired, false in following cases:
        • document does not expire (date of expiry is permanent)
        • date of expiry has passed
        • date of expiry is unknown and it is not permanent
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        string version of this result