Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-plugin-nitgen-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-nitgen-fingerprint

Capacitor plugin for Nitgen fingerprint devices.

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

capacitor-plugin-nitgen-fingerprint

Capacitor 6 plugin for Nitgen fingerprint readers (Hamster DX and Hamster III).

ANDROID ONLY

Install

npm install capacitor-plugin-nitgen-fingerprint
npx cap sync

Update your app AndroidManifest.xml, into activity tag:

<intent-filter>
    <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
    android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
    android:resource="@xml/device_filter_nitgen" />

API

  • init(...)
  • connect()
  • disconnect()
  • capture(...)
  • match(...)
  • addListener('onConnected', ...)
  • addListener('onDisconnected', ...)
  • Interfaces
  • Type Aliases
  • Enums

init(...)

init(options: InitOptions & CaptureOptions) => any

Init the plugin with options

ParamType
optionsInitOptions & CaptureOptions

Returns: any

Since: 0.0.1


connect()

connect() => any

Connect to fingerprint device

Returns: any

Since: 0.0.1


disconnect()

disconnect() => any

Disconnect from fingerprint device

Returns: any

Since: 0.0.1


capture(...)

capture(options?: CaptureOptions | undefined) => any

Capture a fingerprint

ParamType
optionsCaptureOptions

Returns: any

Since: 0.0.1


match(...)

match(options: MatchOptions & CaptureOptions) => any

Capture a fingerprint and match with a given text FIR

ParamType
optionsMatchOptions & CaptureOptions

Returns: any

Since: 0.0.1


addListener('onConnected', ...)

addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => any

Listen for connected event

ParamType
eventName'onConnected'
listenerFuncOnConnectedListener

Returns: any

Since: 0.0.1


addListener('onDisconnected', ...)

addListener(eventName: 'onDisconnected', listenerFunc: () => void) => any

Listen for disconnected event

ParamType
eventName'onDisconnected'
listenerFunc() => void

Returns: any

Since: 0.0.1


Interfaces

InitOptions
PropTypeDescriptionDefaultSince
serialstringSerial code0.0.1
securitySecurityLevelSecurity levelNORMAL0.0.1
CaptureOptions
PropTypeDescriptionDefaultSince
timeoutnumberCapture timeout in milliseconds100000.0.1
imageFormatImageFormatFingerprint image formatPNG0.0.1
imageQualitynumberFingerprint image quality (0-100) Only applied for JPEG500.0.1
CaptureResult
PropTypeDescriptionSince
textFIRstringCaptured text FIR0.0.1
imagestringbase64 encoded fingerprint image0.0.1
MatchOptions
PropTypeDescriptionSince
textFIRstringA stored text FIR to match with captured fingerprint0.0.1
MatchResult
PropTypeDescriptionSince
isMatchbooleanIf captured fingerprint matched text FIR0.0.1
textFIRstringCaptured text FIR0.0.1
imagestringbase64 encoded fingerprint image0.0.1
OnConnectedListenerEvent
PropTypeDescriptionSince
openedDeviceIDnumberDevice ID0.0.1
PluginListenerHandle
PropType
remove() => any

Type Aliases

ImageFormat

'PNG' | 'JPEG'

OnConnectedListener

(event: OnConnectedListenerEvent): void

Enums

SecurityLevel
MembersValue
LOWEST1
LOWER2
LOW3
BELOW_NORMAL4
NORMAL5
ABOVE_NORMAL6
HIGH7
HIGHER8
HIGHEST9

Keywords

FAQs

Package last updated on 31 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc