From bd022f423a33f0794bb53e5b0720da2d67e4631c Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Fri, 14 Aug 2009 18:33:38 -0700 Subject: Bluetooth: API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc --- core/java/android/bluetooth/IBluetoothPbap.aidl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'core/java/android/bluetooth/IBluetoothPbap.aidl') diff --git a/core/java/android/bluetooth/IBluetoothPbap.aidl b/core/java/android/bluetooth/IBluetoothPbap.aidl index 06cdb7b..7cc77d1 100644 --- a/core/java/android/bluetooth/IBluetoothPbap.aidl +++ b/core/java/android/bluetooth/IBluetoothPbap.aidl @@ -16,6 +16,8 @@ package android.bluetooth; +import android.bluetooth.BluetoothDevice; + /** * System private API for Bluetooth pbap service * @@ -23,8 +25,8 @@ package android.bluetooth; */ interface IBluetoothPbap { int getState(); - String getPceAddress(); - boolean connectPce(in String address); - void disconnectPce(); - boolean isConnected(in String address); + BluetoothDevice getClient(); + boolean connect(in BluetoothDevice device); + void disconnect(); + boolean isConnected(in BluetoothDevice device); } -- cgit v1.1