com.pax.dal
Interface ICardReaderHelper
-
public interface ICardReaderHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description PollingResultpolling(EReaderType type, int timeout)寻卡接口polling the bank card by readerTypePollingResultpolling(EReaderType type, int timeout, boolean closeReader)寻卡接口polling the bank card by readerTypevoidsetIsPause(boolean isPause)Deprecated.voidstopPolling()停止轮询stop polling
-
-
-
Method Detail
-
polling
PollingResult polling(EReaderType type, int timeout) throws MagDevException, IccDevException, PiccDevException
寻卡接口polling the bank card by readerType- Parameters:
type-#EReaderTypetimeout-超时时间, 以毫秒为单位time to polling- Returns:
- Throws:
MagDevExceptionIccDevExceptionPiccDevException
-
polling
PollingResult polling(EReaderType type, int timeout, boolean closeReader) throws MagDevException, IccDevException, PiccDevException
寻卡接口polling the bank card by readerType- Parameters:
type-#EReaderTypetimeout-超时时间, 以毫秒为单位time to pollingcloseReader-是否自动关闭读卡器Whether automatically close the card reader- Returns:
- Throws:
MagDevExceptionIccDevExceptionPiccDevException
-
setIsPause
void setIsPause(boolean isPause)
Deprecated.设置是否允许暂停set is pause when polling or not- Parameters:
isPause-- true -- 可以暂停
- false -- 可以取消
- true -- can pause
- false -- can cancel
-
stopPolling
void stopPolling()
停止轮询stop polling
-
-