ID Capture

Defined in namespace Scandit.DataCapture.ID.Capture

IdCapture
class IdCapture : IDataCaptureMode

Added in version 6.16.0

Create()
static IdCapture Create(DataCaptureContext context, IdCaptureSettings settings)

Added in version 6.16.0

Constructs a new IdCapture with the provided settings. When dataCaptureContext is not null, the mode is automatically added to it.

Create()
static IdCapture Create(IdCaptureSettings settings)

Added in version 6.16.0

Constructs a new IdCapture with the provided settings. Calling this method is equivalent to calling :meth:ForDataCaptureContext with null as the context argument.

Enabled
bool Enabled { get;set; }

Added in version 6.16.0

Implemented from IDataCaptureMode. See IDataCaptureMode.Enabled.

AddListener()
void AddListener(IIdCaptureListener listener)

Added in version 6.16.0

Adds the listener to this id capture instance.

In case the same listener is already observing this instance, calling this method will not add the listener again.

RemoveListener()
void RemoveListener(IIdCaptureListener listener)

Added in version 6.16.0

Removes listener from this id capture instance.

In case the listener is not currently observing this instance, calling this method has no effect.

Context
DataCaptureContext Context { get; }

Added in version 6.16.0

Implemented from IDataCaptureMode. See IDataCaptureMode.Context.

Feedback
IdCaptureFeedback Feedback { get;set; }

Added in version 6.20.0

Instance of IdCaptureFeedback, determines what feedback (vibration, sound) should be emitted during the ID Capture process.

RecommendedCameraSettings
static CameraSettings RecommendedCameraSettings { get; }

Added in version 6.16.0

Gets the recommended camera settings to use with this mode.

Reset()
void Reset()

Added in version 6.16.0

Resets the ongoing scanning process. This method can be used to abandon scanning the back side of a document.

ApplySettings()
void ApplySettings(IdCaptureSettings settings)

Added in version 6.20.0

Asynchronously Applies the new settings to the ID Capture. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently not running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.

IdCaptured
event EventHandler<IdCapturedEventArgs> IdCaptured

Added in version 6.16.0

Occurs when a document is recognized and parsed.

IdRejected
event EventHandler<IdRejectedEventArgs> IdRejected

Added in version 6.16.0

Occurs when 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 (see IdCaptureSettings.AcceptedDocuments), (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.