uicc.hci.services.cardemulation
Interface CardEmulationListener

All Superinterfaces:
HCIListener, javacard.framework.Shareable

public interface CardEmulationListener
extends HCIListener

An Applet instance implementing the CardEmulationListener interface can receive events defined in this interface and can receive only CardEmulationMessagee. An Applet implementing this Listener Interface shall onyl receive the events defined in this interface. The Applet instance has to activate the events in the CardEmulationService 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