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 b35cd98806b395692e767ed46966a6ebf90fd36d..129edb20cedae506daa3ec87a5ab254e4ea52318 100644 |
--- a/extensions/common/api/bluetooth_low_energy.idl |
+++ b/extensions/common/api/bluetooth_low_energy.idl |
@@ -464,6 +464,11 @@ namespace bluetoothLowEnergy { |
static void unregisterAdvertisement(long advertisementId, |
ResultCallback callback); |
+ // Resets advertising on the current device. This will unregister all |
+ // existing advertisements and will stop advertising them. |
+ // |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 |