public final class MifareUltralight extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PAGE_SIZE |
static int |
TYPE_ULTRALIGHT |
static int |
TYPE_ULTRALIGHT_C |
static int |
TYPE_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
static MifareUltralight |
get(Tag tag) |
int |
getMaxTransceiveLength() |
Tag |
getTag() |
int |
getTimeout() |
int |
getType() |
boolean |
isConnected() |
byte[] |
readPages(int pageOffset) |
void |
setTimeout(int timeout) |
byte[] |
transceive(byte[] data) |
void |
writePage(int pageOffset,
byte[] data) |
public static final int TYPE_UNKNOWN
public static final int TYPE_ULTRALIGHT
public static final int TYPE_ULTRALIGHT_C
public static final int PAGE_SIZE
public static MifareUltralight get(Tag tag)
public int getType()
public byte[] readPages(int pageOffset)
throws IOException
IOExceptionpublic void writePage(int pageOffset,
byte[] data)
throws IOException
IOExceptionpublic 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.