Developer's Documentation for free mobile OCR SDK

Documentation Menu

RTRDataFieldBuilder protocol

The protocol for a field builder object which allows you to set the name and rules for the data field.

Properties

Name

Type

Description

id

NSString*, read-only

Field identifier.

Methods

Name

Description

- setName:

Sets a human-readable name for the field.

- setPredicateBlock:

Sets the user-implemented validation block which will be called for further verification of the data (e.g. calculating the checksum) after it has passed the regular expression check.

- setRegEx:

Sets the regular expression to match the field data.