1// Signature format: 2.0 2package android.nfc { 3 4 public final class AvailableNfcAntenna implements android.os.Parcelable { 5 ctor public AvailableNfcAntenna(int, int); 6 method public int describeContents(); 7 method public int getLocationX(); 8 method public int getLocationY(); 9 method public void writeToParcel(@NonNull android.os.Parcel, int); 10 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.AvailableNfcAntenna> CREATOR; 11 } 12 13 public class FormatException extends java.lang.Exception { 14 ctor public FormatException(); 15 ctor public FormatException(String); 16 ctor public FormatException(String, Throwable); 17 } 18 19 public final class NdefMessage implements android.os.Parcelable { 20 ctor public NdefMessage(byte[]) throws android.nfc.FormatException; 21 ctor public NdefMessage(android.nfc.NdefRecord, android.nfc.NdefRecord...); 22 ctor public NdefMessage(android.nfc.NdefRecord[]); 23 method public int describeContents(); 24 method public int getByteArrayLength(); 25 method public android.nfc.NdefRecord[] getRecords(); 26 method public byte[] toByteArray(); 27 method public void writeToParcel(android.os.Parcel, int); 28 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.NdefMessage> CREATOR; 29 } 30 31 public final class NdefRecord implements android.os.Parcelable { 32 ctor public NdefRecord(short, byte[], byte[], byte[]); 33 ctor @Deprecated public NdefRecord(byte[]) throws android.nfc.FormatException; 34 method public static android.nfc.NdefRecord createApplicationRecord(String); 35 method public static android.nfc.NdefRecord createExternal(String, String, byte[]); 36 method public static android.nfc.NdefRecord createMime(String, byte[]); 37 method public static android.nfc.NdefRecord createTextRecord(String, String); 38 method public static android.nfc.NdefRecord createUri(android.net.Uri); 39 method public static android.nfc.NdefRecord createUri(String); 40 method public int describeContents(); 41 method public byte[] getId(); 42 method public byte[] getPayload(); 43 method public short getTnf(); 44 method public byte[] getType(); 45 method @Deprecated public byte[] toByteArray(); 46 method public String toMimeType(); 47 method public android.net.Uri toUri(); 48 method public void writeToParcel(android.os.Parcel, int); 49 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.NdefRecord> CREATOR; 50 field public static final byte[] RTD_ALTERNATIVE_CARRIER; 51 field public static final byte[] RTD_HANDOVER_CARRIER; 52 field public static final byte[] RTD_HANDOVER_REQUEST; 53 field public static final byte[] RTD_HANDOVER_SELECT; 54 field public static final byte[] RTD_SMART_POSTER; 55 field public static final byte[] RTD_TEXT; 56 field public static final byte[] RTD_URI; 57 field public static final short TNF_ABSOLUTE_URI = 3; // 0x3 58 field public static final short TNF_EMPTY = 0; // 0x0 59 field public static final short TNF_EXTERNAL_TYPE = 4; // 0x4 60 field public static final short TNF_MIME_MEDIA = 2; // 0x2 61 field public static final short TNF_UNCHANGED = 6; // 0x6 62 field public static final short TNF_UNKNOWN = 5; // 0x5 63 field public static final short TNF_WELL_KNOWN = 1; // 0x1 64 } 65 66 public final class NfcAdapter { 67 method public void disableForegroundDispatch(android.app.Activity); 68 method public void disableReaderMode(android.app.Activity); 69 method public void enableForegroundDispatch(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], String[][]); 70 method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, int, android.os.Bundle); 71 method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context); 72 method @Nullable public android.nfc.NfcAntennaInfo getNfcAntennaInfo(); 73 method public boolean ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, android.os.Handler); 74 method public boolean isEnabled(); 75 method public boolean isObserveModeEnabled(); 76 method public boolean isObserveModeSupported(); 77 method public boolean isReaderOptionEnabled(); 78 method public boolean isReaderOptionSupported(); 79 method public boolean isSecureNfcEnabled(); 80 method public boolean isSecureNfcSupported(); 81 method public void resetDiscoveryTechnology(@NonNull android.app.Activity); 82 method public void setDiscoveryTechnology(@NonNull android.app.Activity, int, int); 83 method public boolean setObserveModeEnabled(boolean); 84 field public static final String ACTION_ADAPTER_STATE_CHANGED = "android.nfc.action.ADAPTER_STATE_CHANGED"; 85 field public static final String ACTION_NDEF_DISCOVERED = "android.nfc.action.NDEF_DISCOVERED"; 86 field @RequiresPermission(android.Manifest.permission.NFC_PREFERRED_PAYMENT_INFO) public static final String ACTION_PREFERRED_PAYMENT_CHANGED = "android.nfc.action.PREFERRED_PAYMENT_CHANGED"; 87 field public static final String ACTION_TAG_DISCOVERED = "android.nfc.action.TAG_DISCOVERED"; 88 field public static final String ACTION_TECH_DISCOVERED = "android.nfc.action.TECH_DISCOVERED"; 89 field @RequiresPermission(android.Manifest.permission.NFC_TRANSACTION_EVENT) public static final String ACTION_TRANSACTION_DETECTED = "android.nfc.action.TRANSACTION_DETECTED"; 90 field public static final String EXTRA_ADAPTER_STATE = "android.nfc.extra.ADAPTER_STATE"; 91 field public static final String EXTRA_AID = "android.nfc.extra.AID"; 92 field public static final String EXTRA_DATA = "android.nfc.extra.DATA"; 93 field public static final String EXTRA_ID = "android.nfc.extra.ID"; 94 field public static final String EXTRA_NDEF_MESSAGES = "android.nfc.extra.NDEF_MESSAGES"; 95 field public static final String EXTRA_PREFERRED_PAYMENT_CHANGED_REASON = "android.nfc.extra.PREFERRED_PAYMENT_CHANGED_REASON"; 96 field public static final String EXTRA_READER_PRESENCE_CHECK_DELAY = "presence"; 97 field public static final String EXTRA_SECURE_ELEMENT_NAME = "android.nfc.extra.SECURE_ELEMENT_NAME"; 98 field public static final String EXTRA_TAG = "android.nfc.extra.TAG"; 99 field public static final int FLAG_LISTEN_DISABLE = 0; // 0x0 100 field public static final int FLAG_LISTEN_KEEP = -2147483648; // 0x80000000 101 field public static final int FLAG_LISTEN_NFC_PASSIVE_A = 1; // 0x1 102 field public static final int FLAG_LISTEN_NFC_PASSIVE_B = 2; // 0x2 103 field public static final int FLAG_LISTEN_NFC_PASSIVE_F = 4; // 0x4 104 field public static final int FLAG_READER_DISABLE = 0; // 0x0 105 field public static final int FLAG_READER_KEEP = -2147483648; // 0x80000000 106 field public static final int FLAG_READER_NFC_A = 1; // 0x1 107 field public static final int FLAG_READER_NFC_B = 2; // 0x2 108 field public static final int FLAG_READER_NFC_BARCODE = 16; // 0x10 109 field public static final int FLAG_READER_NFC_F = 4; // 0x4 110 field public static final int FLAG_READER_NFC_V = 8; // 0x8 111 field public static final int FLAG_READER_NO_PLATFORM_SOUNDS = 256; // 0x100 112 field public static final int FLAG_READER_SKIP_NDEF_CHECK = 128; // 0x80 113 field public static final int PREFERRED_PAYMENT_CHANGED = 2; // 0x2 114 field public static final int PREFERRED_PAYMENT_LOADED = 1; // 0x1 115 field public static final int PREFERRED_PAYMENT_UPDATED = 3; // 0x3 116 field public static final int STATE_OFF = 1; // 0x1 117 field public static final int STATE_ON = 3; // 0x3 118 field public static final int STATE_TURNING_OFF = 4; // 0x4 119 field public static final int STATE_TURNING_ON = 2; // 0x2 120 } 121 122 @Deprecated public static interface NfcAdapter.CreateBeamUrisCallback { 123 method @Deprecated public android.net.Uri[] createBeamUris(android.nfc.NfcEvent); 124 } 125 126 @Deprecated public static interface NfcAdapter.CreateNdefMessageCallback { 127 method @Deprecated public android.nfc.NdefMessage createNdefMessage(android.nfc.NfcEvent); 128 } 129 130 @Deprecated public static interface NfcAdapter.OnNdefPushCompleteCallback { 131 method @Deprecated public void onNdefPushComplete(android.nfc.NfcEvent); 132 } 133 134 public static interface NfcAdapter.OnTagRemovedListener { 135 method public void onTagRemoved(); 136 } 137 138 public static interface NfcAdapter.ReaderCallback { 139 method public void onTagDiscovered(android.nfc.Tag); 140 } 141 142 public final class NfcAntennaInfo implements android.os.Parcelable { 143 ctor public NfcAntennaInfo(int, int, boolean, @NonNull java.util.List<android.nfc.AvailableNfcAntenna>); 144 method public int describeContents(); 145 method @NonNull public java.util.List<android.nfc.AvailableNfcAntenna> getAvailableNfcAntennas(); 146 method public int getDeviceHeight(); 147 method public int getDeviceWidth(); 148 method public boolean isDeviceFoldable(); 149 method public void writeToParcel(@NonNull android.os.Parcel, int); 150 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.NfcAntennaInfo> CREATOR; 151 } 152 153 public final class NfcEvent { 154 field public final android.nfc.NfcAdapter nfcAdapter; 155 field public final int peerLlcpMajorVersion; 156 field public final int peerLlcpMinorVersion; 157 } 158 159 public final class NfcManager { 160 method public android.nfc.NfcAdapter getDefaultAdapter(); 161 } 162 163 public final class Tag implements android.os.Parcelable { 164 method public int describeContents(); 165 method public byte[] getId(); 166 method public String[] getTechList(); 167 method public void writeToParcel(android.os.Parcel, int); 168 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.Tag> CREATOR; 169 } 170 171 public class TagLostException extends java.io.IOException { 172 ctor public TagLostException(); 173 ctor public TagLostException(String); 174 } 175 176} 177 178package android.nfc.cardemulation { 179 180 public final class CardEmulation { 181 method public boolean categoryAllowsForegroundPreference(String); 182 method @Nullable @RequiresPermission(android.Manifest.permission.NFC_PREFERRED_PAYMENT_INFO) public java.util.List<java.lang.String> getAidsForPreferredPaymentService(); 183 method public java.util.List<java.lang.String> getAidsForService(android.content.ComponentName, String); 184 method @Nullable @RequiresPermission(android.Manifest.permission.NFC_PREFERRED_PAYMENT_INFO) public CharSequence getDescriptionForPreferredPaymentService(); 185 method public static android.nfc.cardemulation.CardEmulation getInstance(android.nfc.NfcAdapter); 186 method @Nullable @RequiresPermission(android.Manifest.permission.NFC_PREFERRED_PAYMENT_INFO) public String getRouteDestinationForPreferredPaymentService(); 187 method public int getSelectionModeForCategory(String); 188 method public boolean isDefaultServiceForAid(android.content.ComponentName, String); 189 method public boolean isDefaultServiceForCategory(android.content.ComponentName, String); 190 method public boolean registerAidsForService(android.content.ComponentName, String, java.util.List<java.lang.String>); 191 method public boolean registerPollingLoopFilterForService(@NonNull android.content.ComponentName, @NonNull String, boolean); 192 method public boolean registerPollingLoopPatternFilterForService(@NonNull android.content.ComponentName, @NonNull String, boolean); 193 method public boolean removeAidsForService(android.content.ComponentName, String); 194 method public boolean removePollingLoopFilterForService(@NonNull android.content.ComponentName, @NonNull String); 195 method public boolean removePollingLoopPatternFilterForService(@NonNull android.content.ComponentName, @NonNull String); 196 method @NonNull @RequiresPermission(android.Manifest.permission.NFC) public boolean setOffHostForService(@NonNull android.content.ComponentName, @NonNull String); 197 method public boolean setPreferredService(android.app.Activity, android.content.ComponentName); 198 method public boolean setShouldDefaultToObserveModeForService(@NonNull android.content.ComponentName, boolean); 199 method public boolean supportsAidPrefixRegistration(); 200 method @NonNull @RequiresPermission(android.Manifest.permission.NFC) public boolean unsetOffHostForService(@NonNull android.content.ComponentName); 201 method public boolean unsetPreferredService(android.app.Activity); 202 field @Deprecated public static final String ACTION_CHANGE_DEFAULT = "android.nfc.cardemulation.action.ACTION_CHANGE_DEFAULT"; 203 field public static final String CATEGORY_OTHER = "other"; 204 field public static final String CATEGORY_PAYMENT = "payment"; 205 field public static final String EXTRA_CATEGORY = "category"; 206 field public static final String EXTRA_SERVICE_COMPONENT = "component"; 207 field public static final int SELECTION_MODE_ALWAYS_ASK = 1; // 0x1 208 field public static final int SELECTION_MODE_ASK_IF_CONFLICT = 2; // 0x2 209 field public static final int SELECTION_MODE_PREFER_DEFAULT = 0; // 0x0 210 } 211 212 public abstract class HostApduService extends android.app.Service { 213 ctor public HostApduService(); 214 method public final void notifyUnhandled(); 215 method public final android.os.IBinder onBind(android.content.Intent); 216 method public abstract void onDeactivated(int); 217 method public abstract byte[] processCommandApdu(byte[], android.os.Bundle); 218 method public void processPollingFrames(@NonNull java.util.List<android.nfc.cardemulation.PollingFrame>); 219 method public final void sendResponseApdu(byte[]); 220 field public static final int DEACTIVATION_DESELECTED = 1; // 0x1 221 field public static final int DEACTIVATION_LINK_LOSS = 0; // 0x0 222 field public static final String SERVICE_INTERFACE = "android.nfc.cardemulation.action.HOST_APDU_SERVICE"; 223 field public static final String SERVICE_META_DATA = "android.nfc.cardemulation.host_apdu_service"; 224 } 225 226 public abstract class HostNfcFService extends android.app.Service { 227 ctor public HostNfcFService(); 228 method public final android.os.IBinder onBind(android.content.Intent); 229 method public abstract void onDeactivated(int); 230 method public abstract byte[] processNfcFPacket(byte[], android.os.Bundle); 231 method public final void sendResponsePacket(byte[]); 232 field public static final int DEACTIVATION_LINK_LOSS = 0; // 0x0 233 field public static final String SERVICE_INTERFACE = "android.nfc.cardemulation.action.HOST_NFCF_SERVICE"; 234 field public static final String SERVICE_META_DATA = "android.nfc.cardemulation.host_nfcf_service"; 235 } 236 237 public final class NfcFCardEmulation { 238 method public boolean disableService(android.app.Activity) throws java.lang.RuntimeException; 239 method public boolean enableService(android.app.Activity, android.content.ComponentName) throws java.lang.RuntimeException; 240 method public static android.nfc.cardemulation.NfcFCardEmulation getInstance(android.nfc.NfcAdapter); 241 method public String getNfcid2ForService(android.content.ComponentName) throws java.lang.RuntimeException; 242 method public String getSystemCodeForService(android.content.ComponentName) throws java.lang.RuntimeException; 243 method public boolean registerSystemCodeForService(android.content.ComponentName, String) throws java.lang.RuntimeException; 244 method public boolean setNfcid2ForService(android.content.ComponentName, String) throws java.lang.RuntimeException; 245 method public boolean unregisterSystemCodeForService(android.content.ComponentName) throws java.lang.RuntimeException; 246 } 247 248 public abstract class OffHostApduService extends android.app.Service { 249 ctor public OffHostApduService(); 250 field public static final String SERVICE_INTERFACE = "android.nfc.cardemulation.action.OFF_HOST_APDU_SERVICE"; 251 field public static final String SERVICE_META_DATA = "android.nfc.cardemulation.off_host_apdu_service"; 252 } 253 254 public final class PollingFrame implements android.os.Parcelable { 255 method public int describeContents(); 256 method @NonNull public byte[] getData(); 257 method public long getTimestamp(); 258 method public boolean getTriggeredAutoTransact(); 259 method public int getType(); 260 method public int getVendorSpecificGain(); 261 method public void writeToParcel(@NonNull android.os.Parcel, int); 262 field @NonNull public static final android.os.Parcelable.Creator<android.nfc.cardemulation.PollingFrame> CREATOR; 263 field public static final int POLLING_LOOP_TYPE_A = 65; // 0x41 264 field public static final int POLLING_LOOP_TYPE_B = 66; // 0x42 265 field public static final int POLLING_LOOP_TYPE_F = 70; // 0x46 266 field public static final int POLLING_LOOP_TYPE_OFF = 88; // 0x58 267 field public static final int POLLING_LOOP_TYPE_ON = 79; // 0x4f 268 field public static final int POLLING_LOOP_TYPE_UNKNOWN = 85; // 0x55 269 } 270 271} 272 273package android.nfc.tech { 274 275 public final class IsoDep implements android.nfc.tech.TagTechnology { 276 method public void close() throws java.io.IOException; 277 method public void connect() throws java.io.IOException; 278 method public static android.nfc.tech.IsoDep get(android.nfc.Tag); 279 method public byte[] getHiLayerResponse(); 280 method public byte[] getHistoricalBytes(); 281 method public int getMaxTransceiveLength(); 282 method public android.nfc.Tag getTag(); 283 method public int getTimeout(); 284 method public boolean isConnected(); 285 method public boolean isExtendedLengthApduSupported(); 286 method public void setTimeout(int); 287 method public byte[] transceive(byte[]) throws java.io.IOException; 288 } 289 290 public final class MifareClassic implements android.nfc.tech.TagTechnology { 291 method public boolean authenticateSectorWithKeyA(int, byte[]) throws java.io.IOException; 292 method public boolean authenticateSectorWithKeyB(int, byte[]) throws java.io.IOException; 293 method public int blockToSector(int); 294 method public void close() throws java.io.IOException; 295 method public void connect() throws java.io.IOException; 296 method public void decrement(int, int) throws java.io.IOException; 297 method public static android.nfc.tech.MifareClassic get(android.nfc.Tag); 298 method public int getBlockCount(); 299 method public int getBlockCountInSector(int); 300 method public int getMaxTransceiveLength(); 301 method public int getSectorCount(); 302 method public int getSize(); 303 method public android.nfc.Tag getTag(); 304 method public int getTimeout(); 305 method public int getType(); 306 method public void increment(int, int) throws java.io.IOException; 307 method public boolean isConnected(); 308 method public byte[] readBlock(int) throws java.io.IOException; 309 method public void restore(int) throws java.io.IOException; 310 method public int sectorToBlock(int); 311 method public void setTimeout(int); 312 method public byte[] transceive(byte[]) throws java.io.IOException; 313 method public void transfer(int) throws java.io.IOException; 314 method public void writeBlock(int, byte[]) throws java.io.IOException; 315 field public static final int BLOCK_SIZE = 16; // 0x10 316 field public static final byte[] KEY_DEFAULT; 317 field public static final byte[] KEY_MIFARE_APPLICATION_DIRECTORY; 318 field public static final byte[] KEY_NFC_FORUM; 319 field public static final int SIZE_1K = 1024; // 0x400 320 field public static final int SIZE_2K = 2048; // 0x800 321 field public static final int SIZE_4K = 4096; // 0x1000 322 field public static final int SIZE_MINI = 320; // 0x140 323 field public static final int TYPE_CLASSIC = 0; // 0x0 324 field public static final int TYPE_PLUS = 1; // 0x1 325 field public static final int TYPE_PRO = 2; // 0x2 326 field public static final int TYPE_UNKNOWN = -1; // 0xffffffff 327 } 328 329 public final class MifareUltralight implements android.nfc.tech.TagTechnology { 330 method public void close() throws java.io.IOException; 331 method public void connect() throws java.io.IOException; 332 method public static android.nfc.tech.MifareUltralight get(android.nfc.Tag); 333 method public int getMaxTransceiveLength(); 334 method public android.nfc.Tag getTag(); 335 method public int getTimeout(); 336 method public int getType(); 337 method public boolean isConnected(); 338 method public byte[] readPages(int) throws java.io.IOException; 339 method public void setTimeout(int); 340 method public byte[] transceive(byte[]) throws java.io.IOException; 341 method public void writePage(int, byte[]) throws java.io.IOException; 342 field public static final int PAGE_SIZE = 4; // 0x4 343 field public static final int TYPE_ULTRALIGHT = 1; // 0x1 344 field public static final int TYPE_ULTRALIGHT_C = 2; // 0x2 345 field public static final int TYPE_UNKNOWN = -1; // 0xffffffff 346 } 347 348 public final class Ndef implements android.nfc.tech.TagTechnology { 349 method public boolean canMakeReadOnly(); 350 method public void close() throws java.io.IOException; 351 method public void connect() throws java.io.IOException; 352 method public static android.nfc.tech.Ndef get(android.nfc.Tag); 353 method public android.nfc.NdefMessage getCachedNdefMessage(); 354 method public int getMaxSize(); 355 method public android.nfc.NdefMessage getNdefMessage() throws android.nfc.FormatException, java.io.IOException; 356 method public android.nfc.Tag getTag(); 357 method public String getType(); 358 method public boolean isConnected(); 359 method public boolean isWritable(); 360 method public boolean makeReadOnly() throws java.io.IOException; 361 method public void writeNdefMessage(android.nfc.NdefMessage) throws android.nfc.FormatException, java.io.IOException; 362 field public static final String MIFARE_CLASSIC = "com.nxp.ndef.mifareclassic"; 363 field public static final String NFC_FORUM_TYPE_1 = "org.nfcforum.ndef.type1"; 364 field public static final String NFC_FORUM_TYPE_2 = "org.nfcforum.ndef.type2"; 365 field public static final String NFC_FORUM_TYPE_3 = "org.nfcforum.ndef.type3"; 366 field public static final String NFC_FORUM_TYPE_4 = "org.nfcforum.ndef.type4"; 367 } 368 369 public final class NdefFormatable implements android.nfc.tech.TagTechnology { 370 method public void close() throws java.io.IOException; 371 method public void connect() throws java.io.IOException; 372 method public void format(android.nfc.NdefMessage) throws android.nfc.FormatException, java.io.IOException; 373 method public void formatReadOnly(android.nfc.NdefMessage) throws android.nfc.FormatException, java.io.IOException; 374 method public static android.nfc.tech.NdefFormatable get(android.nfc.Tag); 375 method public android.nfc.Tag getTag(); 376 method public boolean isConnected(); 377 } 378 379 public final class NfcA implements android.nfc.tech.TagTechnology { 380 method public void close() throws java.io.IOException; 381 method public void connect() throws java.io.IOException; 382 method public static android.nfc.tech.NfcA get(android.nfc.Tag); 383 method public byte[] getAtqa(); 384 method public int getMaxTransceiveLength(); 385 method public short getSak(); 386 method public android.nfc.Tag getTag(); 387 method public int getTimeout(); 388 method public boolean isConnected(); 389 method public void setTimeout(int); 390 method public byte[] transceive(byte[]) throws java.io.IOException; 391 } 392 393 public final class NfcB implements android.nfc.tech.TagTechnology { 394 method public void close() throws java.io.IOException; 395 method public void connect() throws java.io.IOException; 396 method public static android.nfc.tech.NfcB get(android.nfc.Tag); 397 method public byte[] getApplicationData(); 398 method public int getMaxTransceiveLength(); 399 method public byte[] getProtocolInfo(); 400 method public android.nfc.Tag getTag(); 401 method public boolean isConnected(); 402 method public byte[] transceive(byte[]) throws java.io.IOException; 403 } 404 405 public final class NfcBarcode implements android.nfc.tech.TagTechnology { 406 method public void close() throws java.io.IOException; 407 method public void connect() throws java.io.IOException; 408 method public static android.nfc.tech.NfcBarcode get(android.nfc.Tag); 409 method public byte[] getBarcode(); 410 method public android.nfc.Tag getTag(); 411 method public int getType(); 412 method public boolean isConnected(); 413 field public static final int TYPE_KOVIO = 1; // 0x1 414 field public static final int TYPE_UNKNOWN = -1; // 0xffffffff 415 } 416 417 public final class NfcF implements android.nfc.tech.TagTechnology { 418 method public void close() throws java.io.IOException; 419 method public void connect() throws java.io.IOException; 420 method public static android.nfc.tech.NfcF get(android.nfc.Tag); 421 method public byte[] getManufacturer(); 422 method public int getMaxTransceiveLength(); 423 method public byte[] getSystemCode(); 424 method public android.nfc.Tag getTag(); 425 method public int getTimeout(); 426 method public boolean isConnected(); 427 method public void setTimeout(int); 428 method public byte[] transceive(byte[]) throws java.io.IOException; 429 } 430 431 public final class NfcV implements android.nfc.tech.TagTechnology { 432 method public void close() throws java.io.IOException; 433 method public void connect() throws java.io.IOException; 434 method public static android.nfc.tech.NfcV get(android.nfc.Tag); 435 method public byte getDsfId(); 436 method public int getMaxTransceiveLength(); 437 method public byte getResponseFlags(); 438 method public android.nfc.Tag getTag(); 439 method public boolean isConnected(); 440 method public byte[] transceive(byte[]) throws java.io.IOException; 441 } 442 443 public interface TagTechnology extends java.io.Closeable { 444 method public void connect() throws java.io.IOException; 445 method public android.nfc.Tag getTag(); 446 method public boolean isConnected(); 447 } 448 449} 450 451