TextField

Implements

Constructors

Properties

comparisonList: CrossSourceValueComparison[]

TextField

comparisonStatus: CheckResult

TextField

fieldName: string

Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup.

TextField

fieldType: TextFieldType

TextField

lcid?: number

TextField

status: CheckResult

TextField

validityList: SourceValidity[]

Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error.

TextField

validityStatus: CheckResult

TextField

value: string

The most confidence value, selected from valueList

TextField

valueList: TextFieldValue[]

TextField

Methods

  • Returns undefined | string

  • This method returns value of the text field. Value encoded in UTF8. Fields value obtained in the following order:

    • if MRZ value is present, it will be taken
    • if no MRZ, but RFID value is present, it will be taken
    • if no MRZ, no RFID, but Barcode value is present, it will be taken
    • if no MRZ, no RFID, no Barcode, but Visual OCR value is present, it will be taken

    Parameters

    • Optionalsource: Source

      See {@code Source}

    • Optionaloriginal: boolean

      Each value formatted according to input params and server settings. To get original representation, set this flag to true. Date example:

      • original visual value - "3 January 2009"
      • formatted value - "03.01.2009"

    Returns undefined | string