net.rim.device.api.io.nfc.se
Interface TransactionListenerWithParams


public interface TransactionListenerWithParams

Receives extended notifications about Secure Element transactions that occur. A transaction is reported when the Reader cuts the field. Reported transaction AIDs include:

This Listener also reports parameters assoicated with the AID transactions. Objects implementing this listener must also implement the default TransactionListener. Use SecureElement.addTransactionListener to add your object to the list of listeners. If the added object is an instance of TransactionListenerWithParams, only the onTransactionDetected in this interface will be called.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0

Method Summary
Category: Signed  void onTransactionDetected(byte[][] aids, byte[][] parameters)
          Invoked when an external reader completes a transaction with an application stored on a Secure Element.
 



Method Detail

onTransactionDetected

void onTransactionDetected(byte[][] aids,
                           byte[][] parameters)
Invoked when an external reader completes a transaction with an application stored on a Secure Element.

Parameters:
aids - Array of Application IDs used in the last transaction between an external reader and a secure element.
parameters - This is reserved for future use. Currently there is one null byte array for each AID in the aids byte array. In the future, it will contain an array of parameters coded in BER-TLV (as defined in TS 101 220 [9]) per item in the aids byte array.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.1.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal