Final implementation of all BluetoothAdapter methods

PiperOrigin-RevId: 393009194
This commit is contained in:
jfcarroll
2021-08-25 16:53:17 -07:00
committed by Copybara-Service
parent 62e7c01cd3
commit 81b72ab1bf
4 changed files with 172 additions and 37 deletions
@@ -85,12 +85,12 @@ void BluetoothClassicMedium::InitializeDeviceWatcher() {
nullptr, // additionalProperties
DeviceInformationKind::AssociationEndpoint); // kind
// An app must subscribe to all of the added, removed, and updated events to
// be notified when there are device additions, removals or updates. If an app
// handles only the added event, it will not receive an update if a device is
// added to the system after the initial device enumeration completes.
// register event handlers before starting the watcher
//
// An app must subscribe to all of the added, removed, and updated events to
// be notified when there are device additions, removals or updates. If an
// app handles only the added event, it will not receive an update if a
// device is added to the system after the initial device enumeration
// completes. register event handlers before starting the watcher
// Event that is raised when a device is added to the collection enumerated
// by the DeviceWatcher.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher.added?view=winrt-20348