summaryrefslogtreecommitdiffstats
path: root/core/java/android/nfc/INfcAdapter.aidl
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2011-01-17 07:59:03 -0800
committerJeff Hamilton <jham@android.com>2011-01-17 08:07:24 -0800
commit33ff2405581271adf14ed4e45597a3b0b80a46ab (patch)
tree63a72bace2fa58f341fc66c4a224d69f61fbdb0d /core/java/android/nfc/INfcAdapter.aidl
parentb73203ab7e308b747819de2b2400afe971ef3bff (diff)
downloadframeworks_base-33ff2405581271adf14ed4e45597a3b0b80a46ab.zip
frameworks_base-33ff2405581271adf14ed4e45597a3b0b80a46ab.tar.gz
frameworks_base-33ff2405581271adf14ed4e45597a3b0b80a46ab.tar.bz2
New APIs for NDEF Push Protocol.
The NPP is only usable by the foregorund activity to prevent dispatching confusion on the far end. Change-Id: I08475a52083fd7f81b79b7fe2faf4e126121a809
Diffstat (limited to 'core/java/android/nfc/INfcAdapter.aidl')
-rw-r--r--core/java/android/nfc/INfcAdapter.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/nfc/INfcAdapter.aidl b/core/java/android/nfc/INfcAdapter.aidl
index cb9fc9d..cfeff52 100644
--- a/core/java/android/nfc/INfcAdapter.aidl
+++ b/core/java/android/nfc/INfcAdapter.aidl
@@ -50,6 +50,8 @@ interface INfcAdapter
void enableForegroundDispatch(in ComponentName activity, in PendingIntent intent,
in IntentFilter[] filters);
void disableForegroundDispatch(in ComponentName activity);
+ void enableForegroundNdefPush(in ComponentName activity, in NdefMessage msg);
+ void disableForegroundNdefPush(in ComponentName activity);
// Non-public methods
// TODO: check and complete