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

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, 6 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 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

Powered by Google App Engine
This is Rietveld 408576698