Mtppscrapcl Delegate; Onerrorevent; Ondatareadycompleteevent; Onpowerupicccompleteevent - Magtek IPAD Programmer's Reference Manual

Pin encryption devices
Table of Contents

Advertisement

4 - MTPPSCRAPCL Delegate

4
MTPPSCRAPCL Delegate
If you are using the library, after calling the functions in section MTPPSCRAPCL Functions, the
MTPPSCRAPCL SDK libraries for will invoke the callback functions in this chapter to provide the
requested data and/or a detailed response. Custom software that uses the MTPPSCRAPCL libraries
should create an object that implements the following functions to process the returning data, then register
it as a delegate. For sample code that demonstrates how to use these functions, see
MTPPSCRADemo.WSDesktop in the SDK files.
4.1

OnErrorEvent

public delegate void OnErrorEvent(int errorCode);
Parameter
errorCode
4.2

OnDataReadyCompleteEvent

Return event for sendSpecialCommand.
Public delegate void OnDataReadyCompleteEvent(byte[] lpData);
Parameter
lpData
4.3

OnPowerUpICCCompleteEvent

Return event for requestPowerUpResetICC (EMV L1 only).
public delegate void OnPowerUpICCCompleteEvent(byte status, byte[]
emvData);
Parameter
Status
emvData
4.4

OnAPDUArrivedCompleteEvent

Return event for requestICCAPDU (EMV L1 only).
Public delegate void OnAPDUArrivedCompleteEvent(byte status, byte[]
RAPDU);
Parameter
status
RAPDU
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer's Reference (Microsoft Windows Store)
Page 56
An integer error code for an error handler.
A response string for sendSpecialCommand function.
Status code
EMV response byte array
Status code
Response APDU byte array from the device.
Description
Description
Description
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

DynaproDynapro goDynapro mini

Table of Contents