Label Capture Validation Flow Settings

Defined under the namespace Scandit.Datacapture.Label.Ui

LabelCaptureValidationFlowSettings
class LabelCaptureValidationFlowSettings

Added in version 8.2.0

constructor()
constructor()

Added in version 8.3.0

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

create()
static create(): LabelCaptureValidationFlowSettings

Added in version 8.2.0

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

missingFieldsHintText
missingFieldsHintText: string

Added in version 8.2.0

Deprecated since version 8.2: This property is deprecated and will be removed in a future release.

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
standbyHintText: string

Added in version 8.2.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
validationHintText: string

Added in version 8.2.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
validationErrorText: string

Added in version 8.2.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
requiredFieldErrorText: string

Added in version 8.2.0

Deprecated since version 8.2: This property is deprecated and will be removed in a future release.

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”.

finishButtonText
finishButtonText: string

Added in version 8.3.0

The text shown in the finish button that allows the user to complete the validation flow when all required fields are filled.

Defaults to “Finish”.

restartButtonText
restartButtonText: string

Added in version 8.3.0

The text shown in the restart button that allows the user to clear all fields and restart the validation flow.

Defaults to “Clear All”.

pauseButtonText
pauseButtonText: string

Added in version 8.3.0

The text shown in the pause button that allows the user to pause the scanning process during the validation flow.

Defaults to “Pause”.

scanningText
scanningText: string

Added in version 8.3.0

The text shown as a placeholder in text fields during the active scanning phase.

Defaults to “Scanning”.

adaptiveScanningText
adaptiveScanningText: string

Added in version 8.3.0

The text shown as a placeholder in text fields when adaptive scanning is active.

Defaults to “Processing, tap to type manually”.

manualInputButtonText
manualInputButtonText: string

Added in version 8.2.0

Deprecated since version 8.2: This property is deprecated and no longer used.

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”.

setPlaceholderTextForLabelDefinition(fieldName, placeholder)
setPlaceholderTextForLabelDefinition(fieldName: string,
        placeholder: string | null): void

Added in version 8.2.0

Sets the placeholder text for a specific label definition field.

getPlaceholderTextForLabelDefinition(fieldName)
getPlaceholderTextForLabelDefinition(fieldName: string): string | null

Added in version 8.2.0

Gets the placeholder text for a specific label definition field.