Developer's Documentation for free mobile OCR SDK

Documentation Menu

checkAndApply method of the IDataCaptureProfileBuilder interface

Checks the profile builder's settings, creates the profile and applies it to the data capture service. This new profile replaces any previous profile, including a predefined profile if the latter was specified in the createDataCaptureService call.

Note that the data capture service must not be running when calling this method (use IDataCaptureService.stop if necessary).

void checkAndApply() throws ProfileCheckException;

Exceptions

Throws IDataCaptureProfileBuilder.ProfileCheckException if any of the profile settings are invalid.