Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: extensions/common/api/bluetooth_low_energy.idl

Issue 2861533004: Implement chrome.bluetoothLowEnergy.resetAdvertising(). (Closed)
Patch Set: Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698