Rejection Reason
Defined in namespace Scandit.DataCapture.ID.Data
- RejectionReason
Added in version 7.0.0
Possible reasons why a document can be rejected.
When multiple rejection conditions apply, only the highest-priority reason is reported. The evaluation order, from highest to lowest priority, is:
NotAcceptedDocumentType — document is in the rejected list
NotAcceptedDocumentType — document is not in the accepted list
DocumentVoided, InvalidFormat, and others
Although InvalidFormat has the lowest priority in the evaluation order, it arises when a document cannot be parsed at all. In that case, document type and authenticity cannot be determined, so higher-priority reasons are not applicable in practice.
For two-sided documents, InconsistentData is only evaluated after both sides have been captured. If the front side triggers a rejection — such as HolderUnderage, DocumentExpired, or DocumentExpiresSoon — the back side is not scanned and InconsistentData is never evaluated, even though it ranks higher in the precedence order.
- NotAcceptedDocumentType
Added in version 7.0.0
The type of the presented document is not enabled in the settings.
- InvalidFormat
Added in version 7.0.0
The document format is incorrect.
- DocumentVoided
Added in version 7.0.0
The document is voided.
- Timeout
Added in version 7.0.0
The capture process resulted in a timeout.
- SingleImageNotRecognized
Added in version 7.0.0
The capture process resulted in no result. This reason is only used in conjunction with a single image frame source. ID Capture is automatically :meth:id.IdCapture.Reset when this rejection happens. Currently only used by the Web platform
- DocumentExpired
Added in version 7.1.0
The document is expired.
- DocumentExpiresSoon
Added in version 7.1.0
The document will expire soon.
- NotRealIdCompliant
Added in version 7.1.0
The document is not REAL ID compliant.
- HolderUnderage
Added in version 7.1.0
The document’s holder is underage.
- ForgedAamvaBarcode
Added in version 7.1.0
The document has a forged AAMVA barcode.
- InconsistentData
Added in version 7.1.0
The document has inconsistent data.
- BluetoothCommunicationError
Added in version 7.5.0
An error occurred while retrieving the document data via Bluetooth.
Added in version 7.5.0
Bluetooth is not supported, disabled, or missing required permissions on your device.