public final class NdefFormatable extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
void |
format(NdefMessage firstMessage) |
void |
formatReadOnly(NdefMessage firstMessage) |
static NdefFormatable |
get(Tag tag) |
Tag |
getTag() |
boolean |
isConnected() |
public static NdefFormatable get(Tag tag)
public void format(NdefMessage firstMessage) throws IOException, FormatException
IOExceptionFormatExceptionpublic void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException
IOExceptionFormatExceptionpublic 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.