@regulaforensics/document-reader
    Preparing search index...

    Class Results

    Class describing results returned on completion of Document Reader work.

    Index
    authenticityResult: AuthenticityResult | null

    Authenticity results.

    barcodePosition: Position[] | null

    Position of a barcode.

    barcodeResult: BarcodeResult | null

    Barcode results.

    bsiTr03135Results: string | null

    Contains results in accordance with the BSI TR-03135 standard.

    chipPage: number

    Indicates which page of the document contains an RFID chip (0 if there's no page containing it). Requires document type recognition, otherwise 1 by default.

    documentPosition: Position[] | null

    Position of a document.

    documentType: DocumentType[] | null

    Document type results.

    dtcData: string | null

    DTCVC data.

    elapsedTime: number

    Indicates how much time has been required for document processing, milliseconds.

    elapsedTimeRFID: number

    Indicates how much time has been required for RFID chip processing, milliseconds.

    graphicResult: GraphicResult | null

    Graphic results.

    imageQuality: ImageQualityGroup[] | null

    Image quality results.

    morePagesAvailable: number

    Indicates how many pages of a document remains to process. Requires Document Type recognition, otherwise 0 by default.

    mrzPosition: Position[] | null

    Position of MRZ.

    processingFinishedStatus: ProcessingFinishedStatus

    Document processing finish status, one of RGLProcessingFinishedStatus values.

    rawResult: string

    Raw results, i.e. in their initial view.

    rfidSessionData: RFIDSessionData | null

    RFID session data.

    Status information for each operation.

    textResult: TextResult | null

    Textual results.

    transactionInfo: TransactionInfo | null
    vdsData: VDSData | null

    Visible Digital Seal data.

    vdsncData: VDSNCData | null

    Visible Digital Seal data.

    • Method returns containers by result type. If result type doesn't exist, the result of the search will be null.

      Returns original containers from rawResult including information about the transaction.

      Parameters

      Returns Promise<string | null>

    • Allows you to get an image of a graphic field based on a source type and page index.

      Parameters

      Returns Promise<GraphicField | null>

    • Allows you to get an image of a graphic field based on a source type, page index and light type.

      Parameters

      Returns Promise<GraphicField | null>

    • Allows you to get an image of a graphic field.

      Parameters

      Returns Promise<string | null>

    • Allows you to get an image of a graphic field based on a source type.

      Parameters

      Returns Promise<string | null>

    • Allows you to get an image of a graphic field based on a source type and page index.

      Parameters

      Returns Promise<string | null>

    • Allows you to get an image of a graphic field based on a source type, page index and light type.

      Parameters

      Returns Promise<string | null>

    • Allows you to get an instance of a text field.

      Parameters

      Returns Promise<TextField | null>

    • Allows you to get an instance of a text field based on LCID.

      Parameters

      Returns Promise<TextField | null>

    • Allows you to get a value of a text field.

      Parameters

      Returns Promise<string | null>

    • Allows you to get a value of a text field based on LCID.

      Parameters

      Returns Promise<string | null>

    • Allows you to get a value of a text field based on LCID and a source type.

      Parameters

      Returns Promise<string | null>

    • Allows you to get a value of a text field based on LCID, a source type and its originality.

      Parameters

      Returns Promise<string | null>

    • Allows you to get a value of a text field based on a source type.

      Parameters

      Returns Promise<string | null>

    • Allows you to get a value of a text field based on a source type and its originality.

      Parameters

      Returns Promise<string | null>

    • Allows you to deserialize object.

      Parameters

      • jsonObject: any

      Returns Results | null