qr-vision
v4.0.0
Published
A fast and efficient QR code scanner using mobile vision for Capacitor
Readme
qr-vision
A fast and efficient QR code scanner using mobile vision for Capacitor
Install
npm install qr-vision
npx cap syncAPI
start()
start() => anySet up preview and start scanning for qr codes.
Returns: any
stop()
stop() => anyDestroy preview and stop scanning for qr codes.
Returns: any
addListener(...)
addListener(eventName: 'qrVisionResult', listenerFunc: ScanResultListener) => Promise<PluginListenerHandle> & PluginListenerHandleAdd a listener for scan results
| Param | Type |
| ------------------ | ------------------------------------------- |
| eventName | "qrVisionResult" |
| listenerFunc | (event: ScanResult) => void |
Returns: any
removeAllListeners()
removeAllListeners() => anyRemove all the listeners that are attached to this plugin.
Returns: any
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ------------------------- |
| remove | () => any |
