android.nfc.tech
Class MifareUltralight
java.lang.Object
android.nfc.tech.MifareUltralight
- All Implemented Interfaces:
- TagTechnology, Closeable
public final class MifareUltralight
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
- See Also:
- Constant Field Values
TYPE_ULTRALIGHT
public static final int TYPE_ULTRALIGHT
- See Also:
- Constant Field Values
TYPE_ULTRALIGHT_C
public static final int TYPE_ULTRALIGHT_C
- See Also:
- Constant Field Values
PAGE_SIZE
public static final int PAGE_SIZE
- See Also:
- Constant Field Values
get
public static MifareUltralight get(Tag tag)
getType
public int getType()
readPages
public byte[] readPages(int pageOffset)
throws IOException
- Throws:
IOException
writePage
public void writePage(int pageOffset,
byte[] data)
throws IOException
- Throws:
IOException
transceive
public byte[] transceive(byte[] data)
throws IOException
- Throws:
IOException
getMaxTransceiveLength
public int getMaxTransceiveLength()
setTimeout
public void setTimeout(int timeout)
getTimeout
public int getTimeout()
getTag
public Tag getTag()
- Specified by:
getTag
in interface TagTechnology
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interface TagTechnology
connect
public void connect()
throws IOException
- Specified by:
connect
in interface TagTechnology
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface TagTechnology
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2008-2012. All Rights Reserved.