public interface ReaderListener extends HCIListener
ReaderListener
can receive events through the onCallback method of this interface and can process
ReaderMessage objects passed through the onCallback method of this interface.
The Contactless Framework shall invoke the method ReaderListener.onCallback only with
events which are defined in ReaderListener or HCIListener
and only with ReaderMessage objects.
The Applet instance must activate the events with ReaderService.activateEvent
before it will receive any event notification.ReaderService,
ReaderMessage| Modifier and Type | Field and Description |
|---|---|
static byte |
EVENT_GET_PARAMETER_RESPONSE
This value is used to notify the Applet when a response to the
ReaderMessage.prepareAndSendGetParameterCommand(byte)
is received. |
static byte |
EVENT_READER_STATUS
This value is used to notify the Applet when the HCI event EVT_READER_STATUS
has been received from the CLF.
|
static byte |
EVENT_TARGET_DISCOVERED
This value is used to notify the Applet when the HCI event EVT_TARGET_DISCOVERD
as received from the CLF.
|
static byte |
EVENT_WRITE_EXCHANGE_DATA_RESPONSE
This value is used to notify the Applet when a response to the
ReaderMessage.prepareAndSendWriteXchgDataCommand(byte, byte[], short, short)
is received. |
EVENT_HCI_RECEPTION_FAILED, EVENT_HCI_TRANSMISSION_FAILEDonCallbackstatic final byte EVENT_GET_PARAMETER_RESPONSE
ReaderMessage.prepareAndSendGetParameterCommand(byte)
is received.
The Applet shall return this value to the HCI framework if it
wants to be notified about the outcome of the GetParameterCommand.static final byte EVENT_WRITE_EXCHANGE_DATA_RESPONSE
ReaderMessage.prepareAndSendWriteXchgDataCommand(byte, byte[], short, short)
is received.
The Applet shall return this value to the HCI framework if it
wants to be notified about the outcome of the GetParameterCommand.static final byte EVENT_TARGET_DISCOVERED
static final byte EVENT_READER_STATUS