summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/BluetoothGattService.java
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2013-04-03 00:29:27 -0700
committerMatthew Xie <mattx@google.com>2013-04-03 18:20:13 -0700
commit33ec9840c70ddc7cd008ecf2660c441defc5f302 (patch)
tree1d143f59810ec3b5277fec1743e546c45664a5b1 /core/java/android/bluetooth/BluetoothGattService.java
parent2fb669e68f771f07517b8d5087ca875025b9bcfb (diff)
downloadframeworks_base-33ec9840c70ddc7cd008ecf2660c441defc5f302.zip
frameworks_base-33ec9840c70ddc7cd008ecf2660c441defc5f302.tar.gz
frameworks_base-33ec9840c70ddc7cd008ecf2660c441defc5f302.tar.bz2
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 'core/java/android/bluetooth/BluetoothGattService.java')
-rw-r--r--core/java/android/bluetooth/BluetoothGattService.java3
1 files changed, 3 insertions, 0 deletions
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
+ *
+ * <p> Gatt Service contains a collection of {@link BluetoothGattCharacteristic},
+ * as well as referenced services.
*/
public class BluetoothGattService {