android.nfc.tech
Class NdefFormatable

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

public final class NdefFormatable
extends Object


Method Summary
 void close()
           
 void connect()
           
 void format(NdefMessage firstMessage)
           
 void formatReadOnly(NdefMessage firstMessage)
           
static NdefFormatable get(Tag tag)
           
 Tag getTag()
           
 boolean isConnected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static NdefFormatable get(Tag tag)

format

public void format(NdefMessage firstMessage)
            throws IOException,
                   FormatException
Throws:
IOException
FormatException

formatReadOnly

public void formatReadOnly(NdefMessage firstMessage)
                    throws IOException,
                           FormatException
Throws:
IOException
FormatException

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.