|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sewoo.request.android.AndroidMSR
public class AndroidMSR
MSR card module for Android OS.
Method Summary | |
---|---|
void |
cancelMSR()
Cancel the MSR mode. |
android.os.Handler |
getHandler()
Get the Handler instance. |
static AndroidMSR |
getInstance()
Retrieve the instance of AndroidMSR. |
boolean |
isMSRStatus()
Get the printer mode that either MSR mode or Normal mode. |
int |
readMSR(int mode)
Reads the MSR data. |
void |
releaseInstance()
Release the instance of AndroidMSR. |
void |
setHandler(android.os.Handler handler)
Set the Handler instance to use in this class. |
void |
startReader()
Starts the task that reads MSR status and data. |
void |
stopReader()
Terminate MSRReaderTask. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AndroidMSR getInstance()
public void releaseInstance() throws java.lang.InterruptedException
java.lang.InterruptedException
public void startReader() throws java.lang.InterruptedException
java.lang.InterruptedException
public void stopReader() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean isMSRStatus() throws java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
public int readMSR(int mode) throws java.lang.InterruptedException, java.io.IOException
mode
- - MSR Track 0x31,0x32,0x33,0x34, 0x35
java.lang.InterruptedException
java.io.IOException
public void cancelMSR()
Cancel the MSR mode.
Only use for exit MSR mode when waiting swipe card.
public void setHandler(android.os.Handler handler)
handler
- public android.os.Handler getHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |