blob: 41ebf636c89e1a0cf5a0701183fa8e9197987515 [file] [log] [blame]
Daniel Tomas90245642010-11-17 10:07:52 +01001/*
Nick Pelly367f41f2011-03-08 11:43:30 -08002 * Copyright (C) 2011 The Android Open Source Project
Daniel Tomas90245642010-11-17 10:07:52 +01003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.nfc;
18
Nick Pelly367f41f2011-03-08 11:43:30 -080019import android.os.Bundle;
20
Jason parksab8f48c2011-03-31 13:15:18 -050021
Daniel Tomas90245642010-11-17 10:07:52 +010022/**
23 * {@hide}
24 */
Nick Pelly367f41f2011-03-08 11:43:30 -080025interface INfcAdapterExtras {
Jeff Hamiltonbb951c82011-11-08 16:55:13 -060026 Bundle open(in String pkg, IBinder b);
27 Bundle close(in String pkg, IBinder b);
28 Bundle transceive(in String pkg, in byte[] data_in);
29 int getCardEmulationRoute(in String pkg);
30 void setCardEmulationRoute(in String pkg, int route);
31 void authenticate(in String pkg, in byte[] token);
mike wakerlyf74df472012-10-03 13:45:00 -070032 String getDriverName(in String pkg);
Nick Pelly367f41f2011-03-08 11:43:30 -080033}