diff options
author | Matthew Xie <mattx@google.com> | 2013-04-03 00:29:27 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-04-03 18:20:13 -0700 |
commit | 18b2c9aa6d972220ebd0669280377b4e97ff3459 (patch) | |
tree | e2a515b7bcbc542d2ed08e2c72e9d77d86db9539 /framework/java/android/bluetooth/BluetoothGattService.java | |
parent | ee0032bacbe11ee3b62402a65f79ea897cbd7e95 (diff) |
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattService.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothGattService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattService.java b/framework/java/android/bluetooth/BluetoothGattService.java index c3b3cfe239..39a435becb 100644 --- a/framework/java/android/bluetooth/BluetoothGattService.java +++ b/framework/java/android/bluetooth/BluetoothGattService.java @@ -23,6 +23,9 @@ import java.util.UUID; /** * Represents a Bluetooth GATT Service + * + * <p> Gatt Service contains a collection of {@link BluetoothGattCharacteristic}, + * as well as referenced services. */ public class BluetoothGattService { |