public class MTEMVEvent
{
public static final int OnTransactionStatus = 200;
public static final int OnDisplayMessageRequest = 201;
public static final int OnUserSelectionRequest = 202;
public static final int OnARQCReceived = 203;
public static final int OnTransactionResult = 204;
public static final int OnEMVCommandResult = 205;
public static final int OnDeviceExtendedResponse = 206; }public enum MTError
{
CardDataError,
ConnectionError
}public class MTSCRAEvent
{
public static final int OnDeviceConnectionStateChanged = 0;
public static final int OnCardDataStateChanged = 1;
public static final int OnDataReceived = 2;
public static final int OnDeviceResponse = 3;
public static final int OnDeviceNotPaired = 4;
}public enum MTConnectionState
{
Disconnected,
Connected,
Error,
Connecting,
Disconnecting
}public enum MTConnectionType
{
Unknown(0),
Audio(1),
BLE(2),
BLEEMV(3),
Bluetooth(4),
USB(5),
Serial(6),
Net(7),
Net_TLS12(8),
Net_TLS12_Trust_All(9),
BLEEMVT(10),
AIDL(11);
}public interface IMTCardData
{
void setSOM(byte[] somBytes);
void setEOM(byte[] eomBytes);
void setFS(byte fsByte);
public byte[] getData();
public String getMaskedTracks();
public String getTrack1();
public String getTrack2();
public String getTrack3();
public String getTrack1Masked();
public String getTrack2Masked();
public String getTrack3Masked();
public String getMagnePrint();
public String getMagnePrintStatus();
public String getDeviceSerial();
public String getSessionID();
public String getKSN();
public String getDeviceName();
public void clearBuffers();
public long getBatteryLevel();
public long getSwipeCount();
public String getCapMagnePrint();
public String getCapMagnePrintEncryption();
public String getCapMagneSafe20Encryption();
public String getCapMagStripeEncryption();
public String getCapMSR();
public String getCapTracks();
public long getCardDataCRC();
public String getCardExpDate();
public String getCardIIN();
public String getCardLast4();
public String getCardName();
public String getCardPAN();
public int getCardPANLength();
public String getCardServiceCode();
public String getCardStatus();
public int getDataFieldCount();
public String getHashCode();
public String getDeviceConfig(String configType);
public String getEncryptionStatus();
public String getFirmware();
public String getMagTekDeviceSerial();
public String getResponseType();
public String getTagValue(String tag,
String data); public String getTLVVersion();
public String getTrackDecodeStatus();
public String getTLVPayload();
public String getMessageID();
public boolean isQwantumCard();
public boolean isQwantumBuffer();
public boolean isCustomerMessage();
String getMSRDUKPTKeySerialNumber();
String getMSRDUKPTKeyInfo();
String getMPDUKPTKeySerialNumber();
String getMPDUKPTKeyInfo();
public String getTokenDUKPTKeySerialNumber();
public String getTokenDUKPTKeyInfo();
public String getQwantumStatus();
public String getQwantumToken();
public String getQwantumCardID();
public String getEncryptedQwantumDataBuffer();
public String getMACDUKPTKeyInfo();
public String getMACMessageLength();
public String getMAC();
public String getCustomerMessageCode();
public String getCustomerMessageText();
public String getEncryptedSCDE();
public String getSCDEDUKPTKeySerialNumber();
public String getSCDEDUKPTKeyInfo(); }