1.0.7 • Published 3 years ago

cordova-plugin-sounds-spectrum v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

cordova-plugin-sounds-spectrum

A Cordova Sounds Plugin for media.

Install

Cordova: cordova plugin add cordova-plugin-sounds-spectrum

Tested successfully with

  • Honeywell ScanPal EDA50 - Android 4.4 and 7

  • Honeywell CT60 - Android 8.1.0

  • Android 10

  • Android 11

Usage

Call .init to capture scans using the device's physical buttons. Call .scan within your application to enable a "software" triggerd scan. You can disable the capturing by calling .release and enable it back by calling .claim followed by .listen method. You can also simulate a softare button to enable the reader behaving in the same way as the hardware scan button(s).

TIP: In Ionic, in order to access the window property, you may need to add window: any = window just above your constructor.