From 33ec9840c70ddc7cd008ecf2660c441defc5f302 Mon Sep 17 00:00:00 2001 From: Matthew Xie Date: Wed, 3 Apr 2013 00:29:27 -0700 Subject: Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt Add BluetoothGatt#connect() to reconnect back to the server. Make BluetoothGatt#close() public to clean up/unregister callback Add BluetoothDevice.getType() to return int of bug 8529188 Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2 --- core/java/android/bluetooth/BluetoothGattService.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/java/android/bluetooth/BluetoothGattService.java') diff --git a/core/java/android/bluetooth/BluetoothGattService.java b/core/java/android/bluetooth/BluetoothGattService.java index c3b3cfe..39a435b 100644 --- a/core/java/android/bluetooth/BluetoothGattService.java +++ b/core/java/android/bluetooth/BluetoothGattService.java @@ -23,6 +23,9 @@ import java.util.UUID; /** * Represents a Bluetooth GATT Service + * + *

Gatt Service contains a collection of {@link BluetoothGattCharacteristic}, + * as well as referenced services. */ public class BluetoothGattService { -- cgit v1.1