Detection Steps

To create a capture flow, you will need to create an array of DocumentDetectorStep, where each element will be a capture step. To construct each DocumentDetectorStep object, you can enter the following elements:

val detectorStep = DocumentDetectorStep(Document.RG_FRONT)
Parameter
Description
Default
Required

document: Document

Specifies the document to capture in the step. Check supported types here.

-

setStepLabel(stepLabel: Int)

Sets the text shown at the bottom of the layout.

Defaults to the pattern for Document.

setIllustration(illustration: Int)

Sets the illustration displayed in the popup before capture.

Defaults to the pattern for Document.

showStepLabel(showStepLabel: Boolean)

Toggles the visibility of text at the top of the layout.

true

Last updated

Logo

2023 © Caf. - All rights reserved