blob: b91bd7d9c5241a671bd2cd1dbdd4642ec154e655 [file] [log] [blame]
fredc0f420372012-04-12 00:02:00 -07001/*
2 * Copyright (C) 2012 Google Inc.
3 */
4package android.bluetooth;
5
6import android.bluetooth.BluetoothDevice;
7
8/**
9 * API for Bluetooth Pan service
10 *
11 * {@hide}
12 */
13interface 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}