ID Capture Listener
Defined in library scandit_datacapture_id
- IdCaptureListener
abstract class IdCaptureListener
Added in version 6.11.0
Listener interface for id capture.
- didCaptureId(idCapture, capturedId)
Future<
void
> didCaptureId(IdCapture idCapture, CapturedId capturedId)Added in version 7.0.0
Called whenever a document is recognized and parsed.
- didRejectId(idCapture, rejectedId, reason)
Future<
void
> didRejectId(IdCapture idCapture, CapturedId? rejectedId, RejectionReason reason)Added in version 7.0.0
Called whenever a personal identification document or its part is recognized in a frame, but rejected. A document is rejected if (a) it’s not enabled in the settings, (b) it’s a barcode of a correct symbology or a Machine Readable Zone (MRZ), but the data is encoded in an unexpected/incorrect format, (c) it’s a voided document and “RejectVoidedIds” is enabled.