createDataCaptureServiceWithDelegate method of the RTREngine class

Documentation Menu

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

Before a call to this method, implement the RTRDataCaptureServiceDelegate protocol to work with processing results and handle errors and warnings.

- (id<RTRDataCaptureService>)createDataCaptureServiceWithDelegate:(id<RTRDataCaptureServiceDelegate>)delegate profile:(NSString*)profile;
- (id<RTRDataCaptureService>)createDataCaptureServiceWithDelegate:(id<RTRDataCaptureServiceDelegate>)delegate profile:(NSString*)profile



The delegate object that implements the RTRDataCaptureServiceDelegate protocol for interacting with the service.


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 nil to configure your own profile for custom data field capture with the help of the configureDataCaptureProfile method of the RTRDataCaptureService protocol.


[optional] Extended service configuration settings represented by an RTRExtendedSettings object.

Return values

The method returns an instance implementing the RTRDataCaptureService protocol.