blob: b91bd7d9c5241a671bd2cd1dbdd4642ec154e655 [file] [log] [blame]
/*
* Copyright (C) 2012 Google Inc.
*/
package android.bluetooth;
import android.bluetooth.BluetoothDevice;
/**
* API for Bluetooth Pan service
*
* {@hide}
*/
interface IBluetoothPan {
// Public API
boolean isTetheringOn();
void setBluetoothTethering(boolean value);
boolean connect(in BluetoothDevice device);
boolean disconnect(in BluetoothDevice device);
List<BluetoothDevice> getConnectedDevices();
List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
int getConnectionState(in BluetoothDevice device);
}