VP8800

Agent.Peripherals.IDTech. VP8800

Methods

onPinEntered(cb, opts)

Register a callback for the PIN Requested Entered

Parameters:
Name Type Description
cb function

Callback the function to call in the event the pin is requested.

opts Object

The event configuration options

Example
Agent.Peripherals.IDTech.VP8800.onPinEntered(() => console.log('PIN Requested!'));

onPinRequested(cb, opts)

Register a callback for the PIN Requested Event

Parameters:
Name Type Description
cb function

Callback the function to call in the event the pin is requested.

opts Object

The event configuration options

Example
Agent.Peripherals.IDTech.VP8800.onPinRequested(() => console.log('PIN Requested!'));