|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CardEmulationListener
An instance implementing CardEmulationListener is used by an Applet to monitor the ContactlessCardEmulationService.
ContactlessCardEmulationService| Field Summary | |
|---|---|
static byte |
EVENT_CARD_ACTIVATED
This value is used to trigger the Applet when the HCI event EVT_CARD_ACTIVATED is received. |
static byte |
EVENT_CARD_DEACTIVATED
This value is used to trigger the Applet when the HCI event EVT_CARD_DEACTIVATED is received. |
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_FIELD_ON
This value is used to notify the Applet when the HCI event EVT_FIELD_ON 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 |
|---|
TRIG_NO_MORE_PROCESS |
| Method Summary | |
|---|---|
byte |
onCallBackTriggering(byte callback,
CardEmulationMessage message)
This method is called by the HCI framework in 3 situations: 1. |
| Methods inherited from interface uicc.hci.framework.HCIListener |
|---|
onCallBack |
| Field Detail |
|---|
static final byte EVENT_GET_PARAMETER_RESPONSE
CardEmulationMessage.prepareAndSendGetParameterCommmand(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_ON_SEND_DATA
static final byte EVENT_FIELD_ON
static final byte EVENT_FIELD_OFF
static final byte EVENT_CARD_DEACTIVATED
static final byte EVENT_CARD_ACTIVATED
| Method Detail |
|---|
byte onCallBackTriggering(byte callback,
CardEmulationMessage message)
event - the condition caused this invocation of onCallBack()message - the HCIMessage
HCIListener.TRIG_NO_MORE_PROCESS: the listener does
not request to be called back
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||