public class SmartCardReaderEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
SMART_CARD_ERROR
Smart card is inserted into the reader, there is electrical communication with the smart card
but no ATR is retrieved.
|
static int |
SMART_CARD_IN
A smart card is inserted into the reader and an ATR is correctly retrieved.
|
static int |
SMART_CARD_MUTED
Smart card is inserted into the reader but no ATR is
retrieved because no electrical communication is established with the smart card.
|
static int |
SMART_CARD_OUT
Nothing is inserted into the reader, meaning the insertion contact is disabled.
|
source| Constructor and Description |
|---|
SmartCardReaderEvent(Object source,
int type)
Constructor for a smart card reader event notifying the slot has identified a change in its status.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Retrieves the type of
SmartCardReaderEvent that has been fired. |
getSource, toStringpublic static int SMART_CARD_IN
public static int SMART_CARD_OUT
public static int SMART_CARD_MUTED
public static int SMART_CARD_ERROR
public SmartCardReaderEvent(Object source, int type)
source - Object the SmartCardReader who is generating the eventtype - int the event typeCopyright © 2012 code4tv.com. All Rights Reserved.