4.0.0 • Published 2 years ago
qr-vision v4.0.0
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 |
4.0.0
2 years ago
0.0.20
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.9
2 years ago
0.0.16
2 years ago
0.0.8
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.5
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago