Id Capture#

Defined in package com.scandit.datacapture.id.capture

IdCapture#
class IdCapture : DataCaptureMode

Added in version 6.2.0

forDataCaptureContext(dataCaptureContext, settings)#
static @NonNull IdCapture forDataCaptureContext(@Nullable DataCaptureContext dataCaptureContext,
        @NonNull IdCaptureSettings settings)

Added in version 6.2.0

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

isEnabled#
boolean isEnabled()
void setEnabled(boolean value)

Added in version 6.2.0

Implemented from DataCaptureMode. See DataCaptureMode.isEnabled.

addListener(listener)#
void addListener(@NonNull IdCaptureListener listener)

Added in version 6.2.0

Adds the listener to this id capture instance.

removeListener(listener)#
void removeListener(@NonNull IdCaptureListener listener)

Added in version 6.2.0

Removes listener from this id capture instance.

dataCaptureContext#
@Nullable DataCaptureContext getDataCaptureContext()

Added in version 6.2.0

Implemented from DataCaptureMode. See DataCaptureMode.dataCaptureContext.

createRecommendedCameraSettings()#
static @NonNull CameraSettings createRecommendedCameraSettings()

Added in version 6.2.0

Creates the recommended camera settings to use with this mode.