summaryrefslogtreecommitdiffstats
path: root/core/java/android/nfc/INfcAdapterExtras.aidl
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-03-08 11:43:30 -0800
committerNick Pelly <npelly@google.com>2011-03-10 16:03:46 -0800
commit367f41f8f61126c2ab34a34cc676756a9fc23ac2 (patch)
tree263a6f3501d1d435dd3da49a0c8cca8787edf544 /core/java/android/nfc/INfcAdapterExtras.aidl
parentdfcb8c511635431d536fd3ef1894378f4424ef1a (diff)
downloadframeworks_base-367f41f8f61126c2ab34a34cc676756a9fc23ac2.zip
frameworks_base-367f41f8f61126c2ab34a34cc676756a9fc23ac2.tar.gz
frameworks_base-367f41f8f61126c2ab34a34cc676756a9fc23ac2.tar.bz2
Implement new NFC-EE API's as shared library (frameworks/base).
Change-Id: I45c4eaf59ec78167fc236fdd59676465a5e1bcb7
Diffstat (limited to 'core/java/android/nfc/INfcAdapterExtras.aidl')
-rwxr-xr-xcore/java/android/nfc/INfcAdapterExtras.aidl30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/java/android/nfc/INfcAdapterExtras.aidl b/core/java/android/nfc/INfcAdapterExtras.aidl
new file mode 100755
index 0000000..ab5c1a6
--- /dev/null
+++ b/core/java/android/nfc/INfcAdapterExtras.aidl
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2011 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package android.nfc;
+
+import android.os.Bundle;
+
+/**
+ * {@hide}
+ */
+interface INfcAdapterExtras {
+ Bundle open(IBinder b);
+ Bundle close();
+ Bundle transceive(in byte[] data_in);
+ int getCardEmulationRoute();
+ void setCardEmulationRoute(int route);
+}