android.device
Interface SEManager.OperationPedInputListener

All Superinterfaces:
SEManager.PedInputListener
Enclosing class:
SEManager

public static interface SEManager.OperationPedInputListener
extends SEManager.PedInputListener

The application has to implement the appropriate listener


Method Summary
 void handleResult(int result, int keylen, Bundle bundle)
          To begin a PIN input session, call #getPinBlock() #getPinBlockEx() Your registered PedInputListener will be called when a successful PIN input occurs or if the configured timeout expires, etc..
 
Methods inherited from interface android.device.SEManager.PedInputListener
onChanged
 

Method Detail

handleResult

void handleResult(int result,
                  int keylen,
                  Bundle bundle)
To begin a PIN input session, call #getPinBlock() #getPinBlockEx() Your registered PedInputListener will be called when a successful PIN input occurs or if the configured timeout expires, etc..

Parameters:
result
- -1 failed or timed out;
0 enter PIN to complete;
1 cancel input the PIN;
2 PIN input;
keylen - PIN length has been entered.
bundle - output data,
get the Pin Block data: byte[] pinBlock = bundle.getByteArray("pinBlock");
get the KSN data: byte[] ksn = bundle.getByteArray("ksn");