Index: extensions/common/api/bluetooth_low_energy.idl |
diff --git a/extensions/common/api/bluetooth_low_energy.idl b/extensions/common/api/bluetooth_low_energy.idl |
index f0641f575d892e34f2eed6b7c0dcf3534510d52c..ee6df3d042c7465d22abf044e04ddd2421efea42 100644 |
--- a/extensions/common/api/bluetooth_low_energy.idl |
+++ b/extensions/common/api/bluetooth_low_energy.idl |
@@ -470,6 +470,11 @@ namespace bluetoothLowEnergy { |
static void unregisterAdvertisement(long advertisementId, |
ResultCallback callback); |
+ // Resets advertising on the current device. It will unregister and |
+ // stop all existing advertisements. |
+ // |callback|: Called once the advertisements are reset. |
+ static void resetAdvertising(ResultCallback callback); |
+ |
// Set's the interval betweeen two consecutive advertisements. Note: |
// This is a best effort. The actual interval may vary non-trivially |
// from the requested intervals. On some hardware, there is a minimum |