Skip to content

This plugin allows for easy cordova integration with the zkteco ZK9500 fingerprint reader

License

Notifications You must be signed in to change notification settings

fessous/capacitor-plugin-zkscanner

Repository files navigation

capacitor-plugin-zkscanner

This plugin allows for easy cordova integration with the zkteco ZK9500 fingerprint reader

Install

npm install capacitor-plugin-zkscanner
npx cap sync

API

openDevice()

openDevice() => Promise<OpenDeviceResponse>

Returns: Promise<OpenDeviceResponse>


closeDevice()

closeDevice() => Promise<CloseDeviceResponse>

Returns: Promise<CloseDeviceResponse>


addListener('CaptureEvent', ...)

addListener(eventName: 'CaptureEvent', listenerFunc: (data: { data: any; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param Type
eventName 'CaptureEvent'
listenerFunc (data: { data: any; }) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

OpenDeviceResponse

Prop Type
success boolean
error string

CloseDeviceResponse

Prop Type
success boolean
error string

PluginListenerHandle

Prop Type
remove () => Promise<void>

About

This plugin allows for easy cordova integration with the zkteco ZK9500 fingerprint reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published