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.

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.

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

addAdvancedListener(listener)
void addAdvancedListener(IdCaptureAdvancedListener listener)

Added in version 6.14.0

Adds the advanced 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(listener)
void removeListener(IdCaptureListener listener)

Added in version 6.11.0

Removes listener from this id capture instance.

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

removeAdvancedListener(listener)
void removeAdvancedListener(IdCaptureAdvancedListener listener)

Added in version 6.14.0

Removes a previously added advanced listener from this id capture instance.

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

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.