This plugin allows for easy cordova integration with the zkteco ZK9500 fingerprint reader
npm install capacitor-plugin-zkscanner
npx cap sync
openDevice() => Promise<OpenDeviceResponse>
Returns: Promise<OpenDeviceResponse>
closeDevice() => Promise<CloseDeviceResponse>
Returns: Promise<CloseDeviceResponse>
addListener(eventName: 'CaptureEvent', listenerFunc: (data: { data: any; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param | Type |
---|---|
eventName |
'CaptureEvent' |
listenerFunc |
(data: { data: any; }) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Prop | Type |
---|---|
success |
boolean |
error |
string |
Prop | Type |
---|---|
success |
boolean |
error |
string |
Prop | Type |
---|---|
remove |
() => Promise<void> |