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.

  • 2.0.1
  • Source
  • npm
  • Socket score

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

capacitor-plugin-nitgen-fingerprint

Capacitor 4 plugin for Nitgen fingerprint devices.

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) => Promise<void>

Init the plugin with options

ParamType
optionsInitOptions & CaptureOptions

Since: 0.0.1


connect()

connect() => Promise<void>

Connect to fingerprint device

Since: 0.0.1


disconnect()

disconnect() => Promise<void>

Disconnect from fingerprint device

Since: 0.0.1


capture(...)

capture(options?: CaptureOptions | undefined) => Promise<CaptureResult>

Capture a fingerprint

ParamType
optionsCaptureOptions

Returns: Promise<CaptureResult>

Since: 0.0.1


match(...)

match(options: MatchOptions & CaptureOptions) => Promise<MatchResult>

Capture a fingerprint and match with a given text FIR

ParamType
optionsMatchOptions & CaptureOptions

Returns: Promise<MatchResult>

Since: 0.0.1


addListener('onConnected', ...)

addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => Promise<PluginListenerHandle> & PluginListenerHandle

Listen for connected event

ParamType
eventName'onConnected'
listenerFuncOnConnectedListener

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


addListener('onDisconnected', ...)

addListener(eventName: 'onDisconnected', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle

Listen for disconnected event

ParamType
eventName'onDisconnected'
listenerFunc() => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

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
MatchResult
PropTypeDescriptionSince
isMatchbooleanIf captured fingerprint matched text FIR0.0.1
textFIRstringCaptured text FIR0.0.1
imagestringbase64 encoded fingerprint image0.0.1
MatchOptions
PropTypeDescriptionSince
textFIRstringA stored text FIR to match with captured fingerprint0.0.1
PluginListenerHandle
PropType
remove() => Promise<void>
OnConnectedListenerEvent
PropTypeDescriptionSince
openedDeviceIDnumberDevice ID0.0.1

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 25 Nov 2022

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