Socket
Socket
Sign inDemoInstall

qr-vision

Package Overview
Dependencies
2
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    qr-vision

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


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

Readme

Source

qr-vision

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

Install

npm install qr-vision
npx cap sync

API

  • start()
  • stop()
  • addListener(...)
  • removeAllListeners()
  • Interfaces

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

ParamType
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
PropType
remove() => any

Keywords

FAQs

Last updated on 03 Oct 2022

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