diff options
author | Matthew Xie <mattx@google.com> | 2013-05-29 10:19:06 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-05-30 11:42:26 -0700 |
commit | abb655872f7a950d640bbb78d14a0660f458db62 (patch) | |
tree | ec74e47a3d4e1ee37b8c47804c645714bcc73239 /framework/java/android/bluetooth/BluetoothGattCallback.java | |
parent | 1626eab8a14b70270ad1885ea906dd3499c89560 (diff) |
Update javadoc to give app write better guidence
Update javadoc of close methods of GATT cliet and server
Update javadoc of BluetoothAdapter
bug 8963528
Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothGattCallback.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattCallback.java b/framework/java/android/bluetooth/BluetoothGattCallback.java index 2259c1eff5..80ea4a6956 100644 --- a/framework/java/android/bluetooth/BluetoothGattCallback.java +++ b/framework/java/android/bluetooth/BluetoothGattCallback.java @@ -27,6 +27,7 @@ public abstract class BluetoothGattCallback { * * @param gatt GATT client * @param status Status of the connect or disconnect operation. + * {@link BluetoothGatt#GATT_SUCCESS} if the operation succeeds. * @param newState Returns the new connection state. Can be one of * {@link BluetoothProfile#STATE_DISCONNECTED} or * {@link BluetoothProfile#STATE_CONNECTED} @@ -72,6 +73,7 @@ public abstract class BluetoothGattCallback { * @param characteristic Characteristic that was written to the associated * remote device. * @param status The result of the write operation + * {@link BluetoothGatt#GATT_SUCCESS} if the operation succeeds. */ public void onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) { @@ -108,6 +110,7 @@ public abstract class BluetoothGattCallback { * @param descriptor Descriptor that was writte to the associated * remote device. * @param status The result of the write operation + * {@link BluetoothGatt#GATT_SUCCESS} if the operation succeeds. */ public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) { |