public interface CardEmulationListener extends HCIListener
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.CardEmulationService,
CardEmulationMessage| Modifier and Type | Field and Description |
|---|---|
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
prepareAndSendGetParameterCommand
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.
|
EVENT_HCI_RECEPTION_FAILED, EVENT_HCI_TRANSMISSION_FAILEDonCallbackstatic final byte EVENT_GET_PARAMETER_RESPONSE
prepareAndSendGetParameterCommand
is received.static final byte EVENT_ON_SEND_DATA
static final byte EVENT_FIELD_OFF