uhf-scanner-sdk
v0.9.51
Published
Capacitor plugin for uhf scan device
Downloads
127
Readme
uhf-scanner-sdk
Capacitor plugin for uhf scan device
Install
npm install uhf-scanner-sdk
npx cap syncIOS: You will need to manually add Uhf.storyboard to main target project so it will be included during Copy Bundle Resources phase
API
run(...)
run(options: { dictionary: Record<string, string>; url?: string; }) => Promise<UhfScanData>| Param | Type |
| ------------- | ---------------------------------------------------------------------------------------------- |
| options | { dictionary: Record<string, string>; url?: string; } |
Returns: Promise<UhfScanData>
locate(...)
locate(options: { rfid: string; url?: string; }) => Promise<string>| Param | Type |
| ------------- | -------------------------------------------- |
| options | { rfid: string; url?: string; } |
Returns: Promise<string>
scan2d()
scan2d() => Promise<BarcodeScanResult>Returns: Promise<BarcodeScanResult>
scan2dMultiple()
scan2dMultiple() => Promise<BarcodeScanMultipleResult>Returns: Promise<BarcodeScanMultipleResult>
Interfaces
UhfScanData
| Prop | Type |
| ------------- | ---------------------- |
| tagList | TagInfo[] |
TagInfo
| Prop | Type |
| -------------- | ------------------- |
| tagData | string |
| tagCount | string |
| tagUser | any |
| tagRssi | string |
| tagTid | any |
| tagEpc | string |
BarcodeScanResult
| Prop | Type |
| ----------------- | ------------------- |
| barcodeData | string |
BarcodeScanMultipleResult
| Prop | Type |
| --------------------- | -------------------------------- |
| barcodeDataList | BarcodeScanResult[] |
Type Aliases
Record
Construct a type with a set of properties K of type T
{ [P in K]: T; }
