Label Capture Validation Flow Settings

Defined in library scandit_datacapture_label_ui

LabelCaptureValidationFlowSettings
class LabelCaptureValidationFlowSettings

Added in version 7.5.0

LabelCaptureValidationFlowSettings.create()
factory LabelCaptureValidationFlowSettings.create()

Added in version 7.5.0

Create a Label Capture Validation Flow Settings object with default values.

missingFieldsHintText
String missingFieldsHintText

Added in version 7.5.0

The text in the hint that is shown to the user when an attempt is made to validate a label while there are still empty fields where LabelField.isRequired is true.

Defaults to “Please fill in missing fields”.

standbyHintText
String standbyHintText

Added in version 7.5.0

The text in the hint that is shown to the user when more than 10 seconds have passed during a scanning phase with no scan made, and the flow is paused until further user interaction.

Defaults to “Scanning paused to conserve battery”.

validationHintText
String validationHintText

Added in version 7.5.0

The text in the hint that is shown to the user when a scanning phase has finished. It informs them of how many fields have been successfully scanned so far

Defaults to “X/Y label fields captured”, where X and Y are the number of captured and expected fields respectively.

validationErrorText
String validationErrorText

Added in version 7.5.0

The text shown below a field that holds an invalid value. This may happen due to either a bad scan or an incorrect manual input.

Defaults to “Invalid input”.

requiredFieldErrorText
String requiredFieldErrorText

Added in version 7.5.0

The text shown below an empty, required field when an attempt to finalize the validation flow has been made.

Defaults to “This field is required”.

manualInputButtonText
String manualInputButtonText

Added in version 7.5.0

The text shown in the button that allows the user to start the flow by inputting values manually for the label fields.

Defaults to “Input Manually”.