1.1.0 • Published 6 months ago

nlscancaplib v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

nlscancaplib

Angular Capacitor Plugin for Newland scanner device

Install

npm install nlscancaplib
npx cap sync

API

registerScanner()

registerScanner() => Promise<void>

stopScanning()

stopScanning() => Promise<void>

triggerScan(...)

triggerScan(options: { timeout?: number; scanType?: number; }) => Promise<void>
ParamType
options{ timeout?: number; scanType?: number; }

addListener('scanDataReceived', ...)

addListener(eventName: 'scanDataReceived', listenerFunc: (result: { data: string; }) => void) => PluginListenerHandle
ParamType
eventName'scanDataReceived'
listenerFunc(result: { data: string; }) => void

Returns: PluginListenerHandle


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
1.1.0

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

0.0.1

6 months ago