fredc | 0f42037 | 2012-04-12 00:02:00 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2012 Google Inc. |
| 3 | */ |
| 4 | package android.bluetooth; |
| 5 | |
| 6 | import android.bluetooth.BluetoothDevice; |
| 7 | |
| 8 | /** |
| 9 | * API for Bluetooth Pan service |
| 10 | * |
| 11 | * {@hide} |
| 12 | */ |
| 13 | interface IBluetoothPan { |
| 14 | // Public API |
| 15 | boolean isTetheringOn(); |
| 16 | void setBluetoothTethering(boolean value); |
| 17 | boolean connect(in BluetoothDevice device); |
| 18 | boolean disconnect(in BluetoothDevice device); |
| 19 | List<BluetoothDevice> getConnectedDevices(); |
| 20 | List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); |
| 21 | int getConnectionState(in BluetoothDevice device); |
| 22 | } |