public class CardReaderPresenterLogger extends Object implements ICardReaderPresenter
Constructor and Description |
---|
CardReaderPresenterLogger(ICardReaderPresenter aPresenter) |
Modifier and Type | Method and Description |
---|---|
void |
cardReaderStateChanged(CardReaderEvent aEvent)
Card reader state changed
|
void |
onAudioData(short[] aBuffer,
int aLength)
For card data visualization
|
ProcessingContinuation |
onCard(BankCard aBankCard)
Card has been entered
|
void |
onCardError(CardError aError)
Can't read card data
|
ConfigurationContinuation |
onConfiguration()
Requests for configuration
|
void |
onReaderNotSupported(CardReaderProblem aProblem)
reader is not supported on this phone
|
void |
onReaderSerialNumber(String aSerialNumber)
Deprecated
|
public CardReaderPresenterLogger(ICardReaderPresenter aPresenter)
public void cardReaderStateChanged(CardReaderEvent aEvent)
ICardReaderPresenter
cardReaderStateChanged
in interface ICardReaderPresenter
aEvent
- card reader eventpublic ProcessingContinuation onCard(BankCard aBankCard)
ICardReaderPresenter
onCard
in interface ICardReaderPresenter
aBankCard
- bank cardpublic void onCardError(CardError aError)
ICardReaderPresenter
onCardError
in interface ICardReaderPresenter
aError
- error messagepublic void onReaderNotSupported(CardReaderProblem aProblem)
ICardReaderPresenter
onReaderNotSupported
in interface ICardReaderPresenter
public void onAudioData(short[] aBuffer, int aLength)
ICardReaderPresenter
onAudioData
in interface ICardReaderPresenter
aBuffer
- contains audio waveaLength
- lengthpublic void onReaderSerialNumber(String aSerialNumber)
ICardReaderPresenter
onReaderSerialNumber
in interface ICardReaderPresenter
aSerialNumber
- KSN (DUKPT)public ConfigurationContinuation onConfiguration()
ICardReaderPresenter
onConfiguration
in interface ICardReaderPresenter
Copyright © 2018. All rights reserved.