Id Capture Listener#

Defined in framework ScanditIdCapture

SDCIdCaptureListener#
@protocol SDCIdCaptureListener <NSObject>

Added in version 6.2.0

Delegate protocol for id capture.

- didStartObservingIdCapture:#
- (void)didStartObservingIdCapture:(SDCIdCapture *)idCapture

Added in version 6.2.0

Called when the listener starts observing the id capture instance.

- didStopObservingIdCapture:#
- (void)didStopObservingIdCapture:(SDCIdCapture *)idCapture

Added in version 6.2.0

Called when the listener stops observing the id capture instance.

- idCapture:didCaptureInSession:frameData:#
- (void)idCapture:(SDCIdCapture *)idCapture
didCaptureInSession:(SDCIdCaptureSession *)session
        frameData:(id<SDCFrameData>)frameData

Added in version 6.2.0

Called whenever a document is recognized and parsed.

- idCapture:didFailWithError:session:frameData:#
- (void)idCapture:(SDCIdCapture *)idCapture
 didFailWithError:(NSError *)error
          session:(SDCIdCaptureSession *)session
        frameData:(id<SDCFrameData>)frameData

Added in version 6.5.0

Called whenever an error occurs during the document scanning process. For possible error codes see SDCIdCaptureErrorCode