JsonTextDataScannerStep

data class JsonTextDataScannerStep(var guidanceText: String, var pattern: String?, var shouldMatchSubstring: Boolean?, var preferredZoom: Double, var aspectRatio: JsonAspectRatio, var unzoomedFinderHeight: Double?, var allowedSymbols: String?, var significantShakeDelay: Long?) : Parcelable

Configuration for the scanned item

Constructors

Link copied to clipboard
constructor(guidanceText: String, pattern: String?, shouldMatchSubstring: Boolean?, preferredZoom: Double, aspectRatio: JsonAspectRatio, unzoomedFinderHeight: Double?, allowedSymbols: String?, significantShakeDelay: Long?)

Properties

Link copied to clipboard

A string (list) of accepted characters during text recognition. If empty or nil, all characters are accepted. Defaults to nil.

Link copied to clipboard

The cameras zoom level preferred for this step. The actual zoom might be different from the preferred one to avoid clipping of finder area and maintain its aspect ratio and height

Link copied to clipboard

User guidance hint text.

Link copied to clipboard

Validation pattern to automatically validate recognized text. '?' = any character, '#' - any digit, all other characters represent themselves. An empty string or nil value will disable the validation pattern.

Link copied to clipboard

The cameras zoom level preferred for this step. The actual zoom might be different from the preferred one to avoid clipping of finder area and maintain its aspect ratio and height

Link copied to clipboard

If set to TRUE pattern validation also validates successfully if only a part of the whole recognized text matches the the validation pattern. If set to FALSE, the whole text must match the validation pattern. Applies to pattern validation only. Defaults to FALSE.

Link copied to clipboard

Threshold used to pause the detection after significant movement occurred. Default = 0

Link copied to clipboard

The preferred height of the finder for zoom scale 1.0 (unzoomed). The actual finder height might change to maintain aspect ratio and to not clip the screen. Defaults to 40 points.