Barcode Camera View Model
ViewModel for BarcodeCameraView.
Constructors
Properties
Functions
User have scanned barcode.
Camera has been opened.
User wants to cancel snapping.
View has removed confirmation dialog (to restart scanning), preview resumed. ViewModel is now to adjust its state accordingly.
User wants to change flash mode.
Scanning result confirmation dialogue finished.
User was shown scanning result confirmation dialogue and we are waiting for his response.
Barcode scanning result was confirmed in the confirmation dialog.
When the barcode was clicked on the Barcode selection overlay layer.
User have snapped an image.
The australia post customer format. The default value is AustraliaPostCustomerFormat.ALPHA_NUMERIC.
Sets auto close timer in seconds. 0 = disabled and it is the default value.
If true
- first successfully scanned barcode will be automatically selected in AR overlay and returned as a result, false
- default AR overlay behaviour.
Set if presenter need to stop snapping after first success.
Set the IBarcodeFilter
implementation instance to filter accepted scanned barcodes.
Set barcode format to scan
Enables or disables showing of the confirmation dialog after barcode scanning. By default it is disabled.
Sets a delay after scan in ms. 0 = disabled and it is the default value
Allows to set custom BarcodeScannerEngineMode for the barcode scanning.
Sets list of BarcodeDocumentFormat to scan
Enables/disables flash.
GS1 Codes Handling mode. The default value is Gs1Handling.PARSE.
Sets initial scan timeout in ms. 0 = disabled and it is the default value
If true
, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false
- mode is disabled. The default is false
Set maximum text length of the scanned barcode. Setting to zero removes the limit. The default value is 0 (the setting is turned off). NOTE: Currently works for ITF and MSI Plessey barcodes only!
Set minimum required quiet zone on the barcode. Measured in modules (the size of a minimal bar on the barcode). The default value is 10. NOTE: Currently works for ITF and MSI Plessey barcodes only!
Set minimum required text length of the scanned barcode. The default value is 0 (the setting is turned off). NOTE: Currently works for ITF and MSI Plessey barcodes only!
The checksum algorithms for MSI Plessey barcodes. The default value is MSIPlesseyChecksumAlgorithm.Mod10.
If true, check digits for UPC, EAN and MSI Plessey codes are removed from result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false
If true
, the Code 11 barcode checksum is used. Default is true
If true
, the IATA 2 of 5 barcode checksum is used. Default is true