Builder
Configuration builder.
Parameters
context
Android context.
validators
List of validators. Validations are applied in the same order in which they are stored in the list.
Throws
if any of the validators has a missing dependency.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
fun candidateSelectionDurationMillis(candidateSelectionDurationMillis: Int): DocumentAutoCaptureControllerConfiguration.Builder
Duration of candidate selection in milliseconds.
Link copied to clipboard
fun detectionNormalizedRectangle(detectionNormalizedRectangle: RectangleDouble): DocumentAutoCaptureControllerConfiguration.Builder
Rectangle of a submitted image (via the DocumentAutoCaptureController.process method) where a document should be detected. The rectangle defines an area inside the image.
Link copied to clipboard
fun imageParametersNormalizedRectangle(imageParametersNormalizedRectangle: RectangleDouble): DocumentAutoCaptureControllerConfiguration.Builder
Rectangle of a submitted image (via the DocumentAutoCaptureController.process method) where image parameters should be calculated. The rectangle defines an area inside the image.
Link copied to clipboard
fun minValidFramesInRowToStartCandidateSelection(minValidFramesInRowToStartCandidateSelection: Int): DocumentAutoCaptureControllerConfiguration.Builder
Minimum number of valid frames in a row to start candidate selection.
Link copied to clipboard
fun mrzReadingEnabled(mrzReadingEnabled: Boolean): DocumentAutoCaptureControllerConfiguration.Builder
If Machine Readable Zone reading is enabled.