uicc.hci.services.cardemulation
Interface CardEmulationListener

All Superinterfaces:
HCIListener, javacard.framework.Shareable

public interface CardEmulationListener
extends HCIListener

The instance of an Applet which implements the interface CardEmulationListener can receive events through the onCallback method of this interface and can process CardEmulationMessage objects passed through the onCallback method of this interface. The Contactless Framework shall invoke the method CardEmulationListener.onCallback only with events which are defined in CardEmulationListener or HCIListener and only with CardEmulationMessage objects. The Applet instance must activate the events with CardEmulationService.activateEvent before it will receive any event notification.

See Also:
CardEmulationService, CardEmulationMessage

Field Summary
static byte EVENT_FIELD_OFF
          This value is used to notify the Applet when the HCI event EVT_FIELD_OFF is received
static byte EVENT_GET_PARAMETER_RESPONSE
          This value is used to notify the Applet when a response to the CardEmulationMessage#prepareAndSendGetParameterCommmand(byte) is received.
static byte EVENT_ON_SEND_DATA
          This value is used to notify the Applet when the HCI event EVT_SEND_DATA is received.
 
Fields inherited from interface uicc.hci.framework.HCIListener
EVENT_HCI_RECEPTION_FAILED, EVENT_HCI_TRANSMISSION_FAILED
 
Method Summary
 
Methods inherited from interface uicc.hci.framework.HCIListener
onCallback
 

Field Detail

EVENT_GET_PARAMETER_RESPONSE

static final byte EVENT_GET_PARAMETER_RESPONSE
This value is used to notify the Applet when a response to the CardEmulationMessage#prepareAndSendGetParameterCommmand(byte) is received.

See Also:
Constant Field Values

EVENT_ON_SEND_DATA

static final byte EVENT_ON_SEND_DATA
This value is used to notify the Applet when the HCI event EVT_SEND_DATA is received.

See Also:
Constant Field Values

EVENT_FIELD_OFF

static final byte EVENT_FIELD_OFF
This value is used to notify the Applet when the HCI event EVT_FIELD_OFF is received

See Also:
Constant Field Values