Developer's Documentation for free mobile OCR SDK

Documentation Menu

IFieldBuilder interface

The interface for a field builder used to define the name and recognition rules for a custom field. The rules include regular expression matching and optional custom validation.

public static interface IDataCaptureProfileBuilder.IFieldBuilder

Methods

Name

Description

setName

Sets the human-readable name for the field.

setOnValidate

Sets the validation callback for additional checks not covered by regular expression matching.

setRegEx

Sets the regular expression that should match the field's text.