![Magtek Universal SDK Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/magtek/universal-sdk/universal-sdk_programmers-manual_3704653016.webp)
4 - IDevice
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 16
Return Value:
Returns true if successful. Otherwise, returns false.
4.10
requestSignature
This function prompts the user to enter a signature on the device. The response data will be returned in
the event
boolean IDevice.requestSignature();
Return Value:
Returns true of successful. Otherwise, returns false.
4.11
sendAuthorization
This function sends the Authorization Response Code (ARPC) blob to the device. The response data will
be returned in the event
boolean IDevice.sendAuthorization(IData data);
Parameter
Description
data
Contains ARPC blob.
Return Value:
Returns true if successful. Otherwise, returns false.
4.12
sendSelection
This function send a user selection to the device.
boolean IDevice.sendSelection(IData data);
Parameter for
data
Description
Byte 0
Status of User Selection:
0x00 = User Selection Request completed
0x01 = User Selection Request aborted, cancelled by user
0x02 = User Selection Request aborted, timeout
Byte 1
The menu item selected by the user. This is a single byte zero based binary
value.
Return Value:
Returns true if successful. Otherwise, returns false.
4.13
startTransaction
This function starts a transaction. The transaction will be processed through multiple calls to the event
boolean IDevice.startTransaction(ITransaction transaction);