ID Capture#

Defined in library scandit_datacapture_id

IdCapture#
class IdCapture : DataCaptureMode

Added in version 6.11.0

IdCapture.forContext(context, settings)#
IdCapture.forContext(DataCaptureContext context,
        IdCaptureSettings settings)

Added in version 6.11.0

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

isEnabled#
bool isEnabled

Added in version 6.11.0

Implemented from DataCaptureMode. See DataCaptureMode.isEnabled.

addListener(listener)#
void addListener(IdCaptureListener listener)

Added in version 6.11.0

Adds the listener to this id capture instance.

removeListener(listener)#
void removeListener(IdCaptureListener listener)

Added in version 6.11.0

Removes listener from this id capture instance.

context#
DataCaptureContext? get context

Added in version 6.11.0

Implemented from DataCaptureMode. See DataCaptureMode.context.

recommendedCameraSettings#
static CameraSettings get recommendedCameraSettings

Added in version 6.11.0

Creates the recommended camera settings to use with this mode.

reset()#
Future<void> reset()

Added in version 6.11.0

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