1// Signature format: 2.0 2package com.android.nfc_extras { 3 4 public class EeAlreadyOpenException extends com.android.nfc_extras.EeIOException { 5 ctor public EeAlreadyOpenException(); 6 ctor public EeAlreadyOpenException(String); 7 } 8 9 public class EeExternalFieldException extends com.android.nfc_extras.EeIOException { 10 ctor public EeExternalFieldException(); 11 ctor public EeExternalFieldException(String); 12 } 13 14 public class EeIOException extends java.io.IOException { 15 ctor public EeIOException(); 16 ctor public EeIOException(String); 17 } 18 19 public class EeInitializationException extends com.android.nfc_extras.EeIOException { 20 ctor public EeInitializationException(); 21 ctor public EeInitializationException(String); 22 } 23 24 public class EeListenModeException extends com.android.nfc_extras.EeIOException { 25 ctor public EeListenModeException(); 26 ctor public EeListenModeException(String); 27 } 28 29 public class EeNfcDisabledException extends com.android.nfc_extras.EeIOException { 30 ctor public EeNfcDisabledException(); 31 ctor public EeNfcDisabledException(String); 32 } 33 34 public final class NfcAdapterExtras { 35 method public void authenticate(byte[]); 36 method public static com.android.nfc_extras.NfcAdapterExtras get(android.nfc.NfcAdapter); 37 method public com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute getCardEmulationRoute(); 38 method public String getDriverName(); 39 method public com.android.nfc_extras.NfcExecutionEnvironment getEmbeddedExecutionEnvironment(); 40 method public void setCardEmulationRoute(com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute); 41 field public static final String ACTION_RF_FIELD_OFF_DETECTED = "com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED"; 42 field public static final String ACTION_RF_FIELD_ON_DETECTED = "com.android.nfc_extras.action.RF_FIELD_ON_DETECTED"; 43 } 44 45 public static final class NfcAdapterExtras.CardEmulationRoute { 46 ctor public NfcAdapterExtras.CardEmulationRoute(int, com.android.nfc_extras.NfcExecutionEnvironment); 47 field public static final int ROUTE_OFF = 1; // 0x1 48 field public static final int ROUTE_ON_WHEN_SCREEN_ON = 2; // 0x2 49 field public final com.android.nfc_extras.NfcExecutionEnvironment nfcEe; 50 field public final int route; 51 } 52 53 public class NfcExecutionEnvironment { 54 method public void close() throws java.io.IOException; 55 method public void open() throws com.android.nfc_extras.EeIOException; 56 method public byte[] transceive(byte[]) throws java.io.IOException; 57 field public static final String ACTION_AID_SELECTED = "com.android.nfc_extras.action.AID_SELECTED"; 58 } 59 60} 61 62