Exemple #1
0
        private void WatcherStopped(BluetoothLEAdvertisementWatcher sender, BluetoothLEAdvertisementWatcherStoppedEventArgs args)
        {
            BluetoothError a = args.Error;

            //AssertSameThreadAndContext();
            GlobalCounters.IncrementWatchersClosed();
        }
        private void WatcherStopped(BluetoothLEAdvertisementWatcher sender, BluetoothLEAdvertisementWatcherStoppedEventArgs args)
        {
            //AssertSameThreadAndContext();
            GlobalCounters.IncrementWatchersClosed();

            Log($"Watcher stopped for reason {args.Error}, has status {_watcher.Status}.");
            IsStopped.Set();
        }