ID Capture Session
Defined under the namespace Scandit.Datacapture.Id
- IdCaptureSession
class IdCaptureSession
Added in version 6.8.0
The ID capture session is responsible for keeping the CapturedId data.
Important
The capture session should only be accessed from within didCaptureId() to which it is provided as an argument. It is not safe to be accessed from anywhere else since it may be concurrently modified. References to the individual captured IDs can be kept and processed later as they are not further modified.
- newlyCapturedId
get newlyCapturedId(): CapturedId | null
Added in version 6.8.0
Parsed data from a document recognized in the last frame, if any.
- localizedOnlyId
get localizedOnlyId(): LocalizedOnlyId | null
Added in version 6.11.0
An information about a document or its part localized in the last frame, if any. A document or its part is considered localized when it’s detected in a frame, but its data is not yet extracted.
- newlyRejectedId
get newlyRejectedId(): RejectedId | null
Added in version 6.11.0
An information about a document or its part recognized in a frame, but rejected. A document is rejected if (a) it’s not enabled in the settings (see IdCaptureSettings.supportedDocuments), (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.
- frameSequenceId
get frameSequenceId(): number
Added in version 6.8.0
The identifier of the current frame sequence.
Important
As long as there is no interruptions of frames coming from the camera, the frameSequenceId will stay the same.