public final class NfcA extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
static NfcA |
get(Tag tag) |
byte[] |
getAtqa() |
int |
getMaxTransceiveLength() |
short |
getSak() |
Tag |
getTag() |
int |
getTimeout() |
boolean |
isConnected() |
void |
setTimeout(int timeout) |
byte[] |
transceive(byte[] data) |
public byte[] getAtqa()
public short getSak()
public byte[] transceive(byte[] data)
throws IOException
IOExceptionpublic int getMaxTransceiveLength()
public void setTimeout(int timeout)
public int getTimeout()
public Tag getTag()
getTag in interface TagTechnologypublic boolean isConnected()
isConnected in interface TagTechnologypublic void connect()
throws IOException
connect in interface TagTechnologyIOExceptionpublic void close()
throws IOException
close in interface TagTechnologyclose in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008-2013. All Rights Reserved.