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