diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2017-03-17 15:33:27 -0700 |
---|---|---|
committer | Jakub Pawlowski <jpawlowski@google.com> | 2017-03-20 20:00:36 +0000 |
commit | cde0e17b3909491e0676c5c914bc12333169bc7b (patch) | |
tree | 67a9f7dd6beb2041ecf283a64c6db1ef29318067 /framework/java/android/bluetooth/le/AdvertisingSetCallback.java | |
parent | d791d1d762d1f776ac13b3094a70d96097419aa6 (diff) |
Bluetooth 5 AdvertisingSet implementation (1/4)
Test: manual
Bug: 30622771
Change-Id: Ia89718c0c2ab2eaa71b158ecdcae989af907769f
Diffstat (limited to 'framework/java/android/bluetooth/le/AdvertisingSetCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/le/AdvertisingSetCallback.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/le/AdvertisingSetCallback.java b/framework/java/android/bluetooth/le/AdvertisingSetCallback.java index ceed8d9e3c..8d2b82ab35 100644 --- a/framework/java/android/bluetooth/le/AdvertisingSetCallback.java +++ b/framework/java/android/bluetooth/le/AdvertisingSetCallback.java @@ -62,9 +62,10 @@ public abstract class AdvertisingSetCallback { * null, and status will be set to proper error code. * * @param advertisingSet The advertising set that was started or null if error. + * @param txPower tx power that will be used for this set. * @param status Status of the operation. */ - public void onAdvertisingSetStarted(AdvertisingSet advertisingSet, int status) {} + public void onAdvertisingSetStarted(AdvertisingSet advertisingSet, int txPower, int status) {} /** * Callback triggered in response to {@link BluetoothLeAdvertiser#stopAdvertisingSet} @@ -106,10 +107,11 @@ public abstract class AdvertisingSetCallback { * indicating result of the operation. * * @param advertisingSet The advertising set. + * @param txPower tx power that will be used for this set. * @param status Status of the operation. */ public void onAdvertisingParametersUpdated(AdvertisingSet advertisingSet, - int status) {} + int txPower, int status) {} /** * Callback triggered in response to {@link AdvertisingSet#setPeriodicAdvertisingParameters} @@ -133,7 +135,7 @@ public abstract class AdvertisingSetCallback { int status) {} /** - * Callback triggered in response to {@link AdvertisingSet#periodicAdvertisingEnable} + * Callback triggered in response to {@link AdvertisingSet#setPeriodicAdvertisingEnable} * indicating result of the operation. * * @param advertisingSet The advertising set. |