createDataCaptureService method of the Engine class

Documentation Menu

Creates a background recognition service to run in data capture mode. Only one instance of the service per application is necessary: multiple threads for processing will be started internally.

public abstract IDataCaptureService createDataCaptureService( String profileName, IDataCaptureService.Callback callback );

Parameters

profileName

The name of a data capture profile (data scheme) to use. Predefined data capture profiles are available only in the extended version of the library (see Data Capture Profiles).
Use an empty string or null to configure your own profile for custom data field capture with the help of the IDataCaptureService.configureDataCaptureProfile method.

callback

An object implementing the IDataCaptureService.Callback interface, which will handle requests from the service.

Return values

The method returns a data capture service object implementing the IDataCaptureService interface.