Optional
acceptedAn optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
Optional
australiaThe customer format used in AUSTRALIA_POST codes. Only relevant for format codes 59 and 62. The default value is ALPHA_NUMERIC
.
Optional
autoSets auto close timer in seconds. 0 = disabled and it is the default value. Android only
Optional
barcodeAccepted barcode formats
Optional
barcodeFilter barcodes results by regular expression. To accept scanned barcode, regular expression should match the entire barcode value. By default, no filter is applied
Optional
barcodesThe color for barcodes count text
Optional
barcodesThe color for barcodes count text
Optional
barcodesThe extension filter for EAN and UPC barcodes.
Optional
cameraBackground color of the detection overlay.
Optional
cameraBackground color of the detection overlay.
Optional
cameraPreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
Optional
cameraThe relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. The default value is 0.
Optional
cameraThe range of valid camera zoom factors. Default value is (1.0; 12.0).
Optional
cancelWhether the cancel button is hidden or not. iOS only.
Optional
cancelString being displayed on the cancel button.
Optional
clearText of the button which clears the list of scanned barcodes.
Optional
deleteString being displayed on the delete button. iOS only.
Optional
detailsThe color of Submit button
Optional
detailsThe color of bottom sheet
Optional
detailsThe color of text elements in bottom sheet
Optional
doubleWhen this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only.
Optional
enableTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
Optional
enableText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
Optional
engineThe engine mode to be used for barcode scanning. The default value is NEXT_GEN.
Optional
fetchingThe text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
Optional
finderAspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
Optional
finderForeground color of the detection overlay.
Optional
finderWidth of finder frame border. Default is 2.
Optional
finderString being displayed as description.
Optional
finderForeground color of the description label.
Optional
flashControls whether the flash toggle button is hidden or not. iOS only.
Optional
flashString being displayed on the flash button. iOS only.
Optional
flashWhether flash is toggled on or off.
Optional
focusDisables auto-focus and locks the lens at the specified focus lock lens position. The default value is false. iOS only.
Optional
focusThe position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The default value is 0.0 iOS only. For Android, minFocusDistanceLock can be used.
Optional
gs1The GS1 handling mode. The default value is PARSE.
Optional
initialScanning delay after scanner appearance in seconds. Defaults to 0 secs.
Optional
lowIf 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
. Android only.
Optional
maximumOptional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
Optional
minLock focus distance withing minimum possible range
Optional
minimum1DBarcodesOptional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only.
Optional
minimumOptional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
Optional
msiThe checksum algorithm for MSI Plessey barcodes. The default value is MOD_10.
Optional
noText of the message that there are no barcodes scanned
Optional
orientationUI Interface orientation lock mode
Optional
overlayThe selection overay configuration.
Optional
pinchWhen this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only.
Optional
replaceIf true
, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
Optional
shouldDefines, if zooming in or out should be animated. iOS only.
Optional
stripWith this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false
Optional
submitText of the button which finishes the flow
Optional
successWhether scanner screen should make a sound on successful barcode or MRZ detection.
Optional
topBackground color of the top bar.
Optional
topForeground color of the cancel button.
Optional
topForeground color of the top bar buttons when disabled.
Optional
touchWhether touch-to-focus is enabled on camera preview. Enabled by default. Android only.
Optional
useControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
Optional
useIf true
, the optional check digit for CODE_11 codes is used in validation. The default is true
.
Optional
useIATA2OF5If true
, the optional check digit for IATA_2_OF_5 codes is used in validation. The default is true
.
Optional
viewDisplay the region of interest. The default value is TRUE.
Deprecated
Use BarcodeScannerConfiguration from 'capacitor-plugin-scanbot-barcode-scanner-sdk/ui_v2' instead