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