summaryrefslogtreecommitdiffstats
path: root/core/java/android/nfc/INfcAdapter.aidl
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2011-01-24 14:53:00 -0600
committerJeff Hamilton <jham@android.com>2011-01-25 16:32:26 -0600
commitd88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0 (patch)
treeb18543fc387045158b4ea3ea6b2ada7f12b0b092 /core/java/android/nfc/INfcAdapter.aidl
parent5e81a6e21e9977acd9dfafaf030bf51c8572a98f (diff)
downloadframeworks_base-d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0.zip
frameworks_base-d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0.tar.gz
frameworks_base-d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0.tar.bz2
Use classnames instead of ints for NFC techs.
This makes the system more flexible and allows adding new technology types without having to update the API. Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
Diffstat (limited to 'core/java/android/nfc/INfcAdapter.aidl')
-rw-r--r--core/java/android/nfc/INfcAdapter.aidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/nfc/INfcAdapter.aidl b/core/java/android/nfc/INfcAdapter.aidl
index cfeff52..d439a48 100644
--- a/core/java/android/nfc/INfcAdapter.aidl
+++ b/core/java/android/nfc/INfcAdapter.aidl
@@ -21,6 +21,7 @@ import android.content.ComponentName;
import android.content.IntentFilter;
import android.nfc.NdefMessage;
import android.nfc.Tag;
+import android.nfc.TechListParcel;
import android.nfc.ILlcpSocket;
import android.nfc.ILlcpServiceSocket;
import android.nfc.ILlcpConnectionlessSocket;
@@ -48,7 +49,7 @@ interface INfcAdapter
void localSet(in NdefMessage message);
void openTagConnection(in Tag tag);
void enableForegroundDispatch(in ComponentName activity, in PendingIntent intent,
- in IntentFilter[] filters);
+ in IntentFilter[] filters, in TechListParcel techLists);
void disableForegroundDispatch(in ComponentName activity);
void enableForegroundNdefPush(in ComponentName activity, in NdefMessage msg);
void disableForegroundNdefPush(in ComponentName activity);