Id Capture Settings#

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

IdCaptureSettings#
class IdCaptureSettings

Added in version 6.2.0

IdCaptureSettings()#
IdCaptureSettings()

Added in version 6.2.0

Creates a new default settings.

getShouldPassImageTypeToResult(type)#
boolean getShouldPassImageTypeToResult(IdImageType type)

Added in version 6.2.0

Gets whether an IdCapture created with these settings should extract an image (specified by the given type) from recognized documents and return it as part of CapturedId. Note that the image may still not be returned, for example, if it’s not present in a document or if it’s not recognized. Default is false.

setShouldPassImageTypeToResult(type, shouldPass)#
void setShouldPassImageTypeToResult(IdImageType type,
        boolean shouldPass)

Added in version 6.2.0

Sets whether an IdCapture created with these settings should extract an image (specified by the given type) from recognized documents and return it as part of CapturedId. Note that the image may still not be returned, for example, if it’s not present in a document or if it’s not recognized. Default is false.

getSupportedDocuments()#
@NonNull EnumSet<IdDocumentType> getSupportedDocuments()

Added in version 6.5.0

setSupportedDocuments(types)#
void setSupportedDocuments(Iterable<IdDocumentType> types)

Added in version 6.5.0

setProperty(name, value)#
void setProperty(@NonNull String name,
        @NonNull Object value)

Added in version 6.2.0

Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may change in a future release.

getProperty(name)#
@NonNull Object getProperty(@NonNull String name)

Added in version 6.2.0

Retrieves the value of a previously set property. In case the property does not exist, null is returned. Use this method to get properties that are not yet part of a stable API. These properties may change in a future release.