SEManager.OperationPedInputListener

##
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` or `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` or `getPinBlockEx`. Your registered PedInputListener will be called when a successful PIN input occurs or if the configured timeout expires, etc..

  Parameters:
    `result` - Value:
    (-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");`
  Returns:
    none