uhf-scanner-ci-rx600
v0.0.8
Published
Later
Downloads
6
Readme
uhf-scanner-ci-rx600
Later
Install
npm install uhf-scanner-ci-rx600
npx cap sync
API
addListener('BroadcastReceiverEvent', ...)
addListener('buttonClicked', ...)
scanInit(...)
scanDestroy()
beginScan()
stopScan()
- Interfaces
addListener('BroadcastReceiverEvent', ...)
addListener(eventName: 'BroadcastReceiverEvent', listenerFunc: (barcode: { result: any; }) => void) => PluginListenerHandle
| Param | Type |
| ------------------ | --------------------------------------------------- |
| eventName
| 'BroadcastReceiverEvent' |
| listenerFunc
| (barcode: { result: any; }) => void |
Returns: PluginListenerHandle
addListener('buttonClicked', ...)
addListener(eventName: 'buttonClicked', listenerFunc: (keyCode: { result: string; }) => void) => PluginListenerHandle
| Param | Type |
| ------------------ | ------------------------------------------------------ |
| eventName
| 'buttonClicked' |
| listenerFunc
| (keyCode: { result: string; }) => void |
Returns: PluginListenerHandle
scanInit(...)
scanInit(options: UHFScannerOptions) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------------------- |
| options
| UHFScannerOptions |
scanDestroy()
scanDestroy() => Promise<void>
beginScan()
beginScan() => Promise<void>
stopScan()
stopScan() => Promise<void>
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove
| () => Promise<void> |
UHFScannerOptions
| Prop | Type |
| --------------- | ------------------- |
| readPower
| number |
| prefix
| string |
| suffix
| string |
| start
| number |
| end
| number |