android.nfc.tech
Class NfcA

java.lang.Object
  extended by android.nfc.tech.NfcA
All Implemented Interfaces:
TagTechnology, Closeable

public final class NfcA
extends Object


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static NfcA get(Tag tag)

getAtqa

public byte[] getAtqa()

getSak

public short getSak()

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.