qr-vision
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

qr-vision

A fast and efficient QR code scanner using mobile vision for Capacitor

Install

npm install qr-vision
npx cap sync

API

start()

start() => any

Set up preview and start scanning for qr codes.

Returns: any


stop()

stop() => any

Destroy preview and stop scanning for qr codes.

Returns: any


addListener(...)

addListener(eventName: 'qrVisionResult', listenerFunc: ScanResultListener) => Promise<PluginListenerHandle> & PluginListenerHandle

Add a listener for scan results

Param Type
eventName "qrVisionResult"
listenerFunc (event: ScanResult) => void

Returns: any


removeAllListeners()

removeAllListeners() => any

Remove all the listeners that are attached to this plugin.

Returns: any


Interfaces

PluginListenerHandle

Prop Type
remove () => any

Readme

Keywords

Package Sidebar

Install

npm i qr-vision

Weekly Downloads

2

Version

4.0.0

License

MIT

Unpacked Size

34.9 kB

Total Files

27

Last publish

Collaborators

  • mitti_dev