Socket
Socket
Sign inDemoInstall

@kduma-autoid/capacitor-sunmi-camera-scanner

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kduma-autoid/capacitor-sunmi-camera-scanner

Capacitor plugin for interaction with Sunmi Camera-based barcode scanning library


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
43.5 kB
Created
Weekly downloads
 

Readme

Source

@kduma-autoid/capacitor-sunmi-camera-scanner

Capacitor plugin for interaction with Sunmi Camera-based barcode scanning library

Install

npm install @kduma-autoid/capacitor-sunmi-camera-scanner
npx cap sync

API

  • scan(...)
  • Interfaces

scan(...)

scan(options?: ScanParams | undefined) => Promise<{ scans: { type: string; value: string; }[]; }>
ParamType
optionsScanParams

Returns: Promise<{ scans: { type: string; value: string; }[]; }>


Interfaces

ScanParams
PropTypeDescriptionDefault
play_soundbooleanSound prompt after scan completestrue
play_vibratebooleanVibrate when scan completes. At present, M1 hardware supports this configuration for vibration, while V1 does not support.false
show_settingbooleanWhether to display the Settings button in the upper right cornerfalse
show_album_selectorbooleanWhether to display the button "select picture from album"false
show_flashlightbooleanWhether to display the flashlightfalse
recognize_multiple_codesbooleanRecognize multiple QR codes in the imagefalse
recognize_inverse_codesbooleanAllow to read the reverse color QR codefalse
scan_modebooleanWhether cycle modefalse
symbologiesSymbologiesSymbologies configuration
Symbologies
PropTypeDescriptionDefault
ean_8booleanAllow to read the EAN-8 barcodefalse
upc_ebooleanAllow to read the UPC-E barcodefalse
isbn_10booleanAllow to read the ISBN-10 (from EAN-13) barcodefalse
code_11booleanAllow to read the CODE-11 barcodefalse
upc_abooleanAllow to read the UPC-A barcodefalse
ean_13booleanAllow to read the AN-13 barcodefalse
isbn_13booleanAllow to read the ISBN-13 (from EAN-13) barcodefalse
interleaved_2_of_5booleanAllow to read the Interleaved 2 of 5 barcodefalse
code_128booleanAllow to read the ECode 128 barcodefalse
codabarbooleanAllow to read the Codabar barcodefalse
code_39booleanAllow to read the Code 39 barcodefalse
code_93booleanAllow to read the Code 93 barcodefalse
databarbooleanAllow to read the DataBar (RSS-14) barcodefalse
databar_expbooleanAllow to read the DataBar Expanded barcodefalse
micro_pdf417booleanAllow to read the Micro PDF417 barcodefalse
microqrbooleanAllow to read the Micro QR Code barcodefalse
qr_codebooleanAllow to read the QR codefalse
pdf417booleanAllow to read the PDF417 barcodefalse
data_matrixbooleanAllow to read the DataMatrix codefalse
aztecbooleanAllow to read the AZTEC codefalse
hanxinbooleanAllow to read the Hanxin codefalse

Keywords

FAQs

Last updated on 27 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc