blob: 0c2a2fd065b277d1135352b3044c98066b1855a4 [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 {
26 Bundle open(IBinder b);
27 Bundle close();
28 Bundle transceive(in byte[] data_in);
29 int getCardEmulationRoute();
Jason parksab8f48c2011-03-31 13:15:18 -050030 void setCardEmulationRoute(int route);
Nick Pelly17523ab2011-06-17 10:56:39 -070031 void authenticate(in byte[] token);
Nick Pelly367f41f2011-03-08 11:43:30 -080032}