summaryrefslogtreecommitdiffstats
path: root/nfc-extras/api/current.txt
blob: 47ccddf2ffcc2bac63e5e24f696166b1891c589f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Signature format: 2.0
package com.android.nfc_extras {

  public class EeAlreadyOpenException extends com.android.nfc_extras.EeIOException {
    ctor public EeAlreadyOpenException();
    ctor public EeAlreadyOpenException(String);
  }

  public class EeExternalFieldException extends com.android.nfc_extras.EeIOException {
    ctor public EeExternalFieldException();
    ctor public EeExternalFieldException(String);
  }

  public class EeIOException extends java.io.IOException {
    ctor public EeIOException();
    ctor public EeIOException(String);
  }

  public class EeInitializationException extends com.android.nfc_extras.EeIOException {
    ctor public EeInitializationException();
    ctor public EeInitializationException(String);
  }

  public class EeListenModeException extends com.android.nfc_extras.EeIOException {
    ctor public EeListenModeException();
    ctor public EeListenModeException(String);
  }

  public class EeNfcDisabledException extends com.android.nfc_extras.EeIOException {
    ctor public EeNfcDisabledException();
    ctor public EeNfcDisabledException(String);
  }

  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();
    method public String getDriverName();
    method public com.android.nfc_extras.NfcExecutionEnvironment getEmbeddedExecutionEnvironment();
    method public void setCardEmulationRoute(com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute);
    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";
  }

  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;
    field public static final String ACTION_AID_SELECTED = "com.android.nfc_extras.action.AID_SELECTED";
  }

}