2018-12-26 19:55:07 -08:00
|
|
|
// Signature format: 2.0
|
2018-05-12 22:36:10 +09:00
|
|
|
package com.android.nfc_extras {
|
|
|
|
|
|
|
|
public class EeAlreadyOpenException extends com.android.nfc_extras.EeIOException {
|
|
|
|
ctor public EeAlreadyOpenException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeAlreadyOpenException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public class EeExternalFieldException extends com.android.nfc_extras.EeIOException {
|
|
|
|
ctor public EeExternalFieldException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeExternalFieldException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public class EeIOException extends java.io.IOException {
|
|
|
|
ctor public EeIOException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeIOException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public class EeInitializationException extends com.android.nfc_extras.EeIOException {
|
|
|
|
ctor public EeInitializationException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeInitializationException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public class EeListenModeException extends com.android.nfc_extras.EeIOException {
|
|
|
|
ctor public EeListenModeException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeListenModeException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public class EeNfcDisabledException extends com.android.nfc_extras.EeIOException {
|
|
|
|
ctor public EeNfcDisabledException();
|
2018-12-26 19:55:07 -08:00
|
|
|
ctor public EeNfcDisabledException(String);
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public final class NfcAdapterExtras {
|
|
|
|
method public void authenticate(byte[]);
|
|
|
|
method public static com.android.nfc_extras.NfcAdapterExtras get(android.nfc.NfcAdapter);
|
|
|
|
method public com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute getCardEmulationRoute();
|
2018-12-26 19:55:07 -08:00
|
|
|
method public String getDriverName();
|
2018-05-12 22:36:10 +09:00
|
|
|
method public com.android.nfc_extras.NfcExecutionEnvironment getEmbeddedExecutionEnvironment();
|
|
|
|
method public void setCardEmulationRoute(com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute);
|
2018-12-26 19:55:07 -08:00
|
|
|
field public static final String ACTION_RF_FIELD_OFF_DETECTED = "com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED";
|
|
|
|
field public static final String ACTION_RF_FIELD_ON_DETECTED = "com.android.nfc_extras.action.RF_FIELD_ON_DETECTED";
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
public static final class NfcAdapterExtras.CardEmulationRoute {
|
|
|
|
ctor public NfcAdapterExtras.CardEmulationRoute(int, com.android.nfc_extras.NfcExecutionEnvironment);
|
|
|
|
field public static final int ROUTE_OFF = 1; // 0x1
|
|
|
|
field public static final int ROUTE_ON_WHEN_SCREEN_ON = 2; // 0x2
|
|
|
|
field public final com.android.nfc_extras.NfcExecutionEnvironment nfcEe;
|
|
|
|
field public final int route;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class NfcExecutionEnvironment {
|
|
|
|
method public void close() throws java.io.IOException;
|
|
|
|
method public void open() throws com.android.nfc_extras.EeIOException;
|
|
|
|
method public byte[] transceive(byte[]) throws java.io.IOException;
|
2018-12-26 19:55:07 -08:00
|
|
|
field public static final String ACTION_AID_SELECTED = "com.android.nfc_extras.action.AID_SELECTED";
|
2018-05-12 22:36:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|