BlinkIdOverlaySettings class
Class for setting up BlinkId overlay. BlinkId overlay is best suited for recognizers that perform ID document scanning.
- Inheritance
-
- Object
- OverlaySettings
- BlinkIdOverlaySettings
- Annotations
-
- @JsonSerializable()
Constructors
- BlinkIdOverlaySettings.new()
-
BlinkIdOverlaySettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backSideScanningTimeoutMilliseconds ↔ int
-
Option to configure back side scanning timeout.
getter/setter pair
- country ↔ String?
-
(optional) to be used with language variable, it defines the country locale
example: "US" to use "en_US" on Android and en-US on iOS
getter/setter pairinherited
- enableBeep ↔ bool
-
whether beep sound will be played on successful scan
false by default
getter/setter pairinherited
- errorDocumentTooCloseToEdge ↔ String?
-
Instructions for the user to move the document from the edge.
If null, default value will be used.
getter/setter pair
- errorMoveCloser ↔ String?
-
String: instructions for the user to move the document closer.
If null, default value will be used.
getter/setter pair
- errorMoveFarther ↔ String?
-
String: instructions for the user to move the document farther.
If null, default value will be used.
getter/setter pair
- firstSideInstructionsText ↔ String?
-
String: message that is shown while scanning first side of the document.
If null, default value will be used.
getter/setter pair
- flipInstructions ↔ String?
-
String: instructions to flip document, shown when scanning of the first side is done, before scanning the second
side of the document.
If null, default value will be used.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- language ↔ String?
-
(optional) if default overlay contains textual information, text will be localized to this language. Otherwise device langauge will be used
example: "en"
getter/setter pairinherited
- overlaySettingsType ↔ String?
-
type of the overlay settings object
getter/setter pairinherited
- recognitionTimeoutMessage ↔ String?
-
String: message inside dialog, which is shown on timeout when scanning is stuck on the back document side.
If null, default value will be used.
getter/setter pair
- recognitionTimeoutTitle ↔ String?
-
String: title of the dialog, which is shown on timeout when scanning is stuck on the back document side.
If null, default value will be used.
getter/setter pair
- requireDocumentSidesDataMatch ↔ bool
-
If true, BlinkIdCombinedRecognizer will check if sides do match when scanning is finished
Default: true
getter/setter pair
- retryButtonText ↔ String?
-
String: text of the "retry" button inside dialog, which is shown on timeout when scanning is stuck on the back
document side.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scanBarcodeText ↔ String?
-
Message that is shown while scanning the barcode.
If null, default value will be used.
getter/setter pair
- showFlashlightWarning ↔ bool
-
Defines whether glare warning will be displayed when user turn on a flashlight
getter/setter pair
- showNotSupportedDialog ↔ bool
-
Defines whether Document Not Supported dialog will be displayed in UI.
getter/setter pair
- sidesNotMatchingMessage ↔ String?
-
String: message inside dialog, which is shown when scanned document sides are not from the same document.
If null, default value will be used.
getter/setter pair
- sidesNotMatchingTitle ↔ String?
-
String: title of the dialog, which is shown when scanned document sides are not from the same document.
If null, default value will be used.
getter/setter pair
- unsupportedDocumentMessage ↔ String?
-
String: message inside dialog, which is shown when unsupported document is scanned.
If null, default value will be used.
getter/setter pair
- unsupportedDocumentTitle ↔ String?
-
String: title of the dialog, which is shown when unsupported document is scanned.
If null, default value will be used.
getter/setter pair
- useFrontCamera ↔ bool
-
whether front camera should be used instead of the default camera
false by default
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited