blob: b91bd7d9c5241a671bd2cd1dbdd4642ec154e655 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* 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);
}
|