|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActivity
com.BTPaySDK.BTPay_SDKDemo
public class BTPay_SDKDemo
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.BTPaySDK.OnReceiverListener |
---|
OnReceiverListener.EMV_RESULT_CODE_Types, OnReceiverListener.EVENT_MSR_Types, OnReceiverListener.EVENT_PINPAD_Types |
Constructor Summary | |
---|---|
BTPay_SDKDemo()
|
Method Summary | |
---|---|
void |
deviceConnected()
Fires when device connects. |
void |
deviceDisconnected()
Fires when device disconnects. |
void |
emvTransactionData(OnReceiverListener.EMV_RESULT_CODE_Types resultCode,
byte[] resultTags,
int errorCode)
Call back function,this function will be called automatically if receive results from API emv_startEMVTransaction(). |
void |
onConfigurationChanged(Configuration newConfig)
|
void |
onCreate(Bundle savedInstanceState)
|
void |
onDestroy()
|
void |
OnEMVTransactionData(byte[] resultTags)
|
void |
onPause()
|
void |
onResume()
|
void |
onStart()
|
void |
onStop()
|
void |
pinpadData(byte[] value,
byte[] KSN,
OnReceiverListener.EVENT_PINPAD_Types funcType)
Call back function,this function will be called automatically if finish PIN enter,cancel and timeout. |
void |
swipeMSRData(IDTMSRData card)
Call back function,this function will be called automatically if Card decode has been completed after swiping card. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BTPay_SDKDemo()
Method Detail |
---|
public void onConfigurationChanged(Configuration newConfig)
public void onCreate(Bundle savedInstanceState)
public void OnEMVTransactionData(byte[] resultTags)
public void pinpadData(byte[] value, byte[] KSN, OnReceiverListener.EVENT_PINPAD_Types funcType)
OnReceiverListener
pinpadData
in interface OnReceiverListener
value
- for the PIN data.KSN
- for Key Serial Number returns from pin_getEncryptedPIN, pin_getCardAccount or pin_getEncryptedData.funcType
- for the PIN type or handle result,it was defined EVENT_PINPAD_* .public void swipeMSRData(IDTMSRData card)
OnReceiverListener
swipeMSRData
in interface OnReceiverListener
card
- the MSR data.public void onStart()
public void onResume()
public void onPause()
public void onStop()
public void onDestroy()
public void deviceConnected()
OnReceiverListener
deviceConnected
in interface OnReceiverListener
public void deviceDisconnected()
OnReceiverListener
deviceDisconnected
in interface OnReceiverListener
public void emvTransactionData(OnReceiverListener.EMV_RESULT_CODE_Types resultCode, byte[] resultTags, int errorCode)
OnReceiverListener
emvTransactionData
in interface OnReceiverListener
resultCode
- for Response code.resultTags
- for Response data(TLVs data returns back from ICC card).errorCode
- for error code which defined in BTPay_ErrorCode.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |